- 博客(3)
- 收藏
- 关注
转载 微信小程序截取字符串
Page({ /** * 页面的初始数据 */ data: { array: [] }, /** * 生命周期函数--监听页面加载 */ onLoad: function (options) { var that = this; console.log("start"); ...
2018-03-12 10:20:00
1179
转载 jQuery ajax模板
$.ajax({ url:'', type:'POST', //GET async:true, //或false,是否异步 data:{ name:'llc', age:22 }, timeout:5000, //超时时间 dataType:'json', //...
2017-12-26 09:57:00
96
转载 JavaScript简写技巧 转载 持续搬运,方面自己查看
关于一些JavaScript的小技巧,转载自https://www.geekjc.com/post/5a0a8c9a592e38541f7703c8。 1if语句可以简写三目运算: const x = 20;let answer; if (x > 10) { answer = 'greater than 10'; } else { answer = 'less th...
2017-12-23 09:49:00
104
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人