摘要:
const isMobilePhoneNum = (params) => { const areaCode = params.areaCode || 'cn' const str = params.str switch (areaCode) { case 'de': break default: case 'cn': const ... 阅读全文
posted @ 2018-09-08 23:46
papering
阅读(198)
评论(0)
推荐(0)
摘要:
wx.getUpdateManager() 基础库 1.9.90 开始支持,低版本需做兼容处理。 获取全局唯一的版本更新管理器,用于管理小程序更新。 关于小程序的更新机制,可以查看 运行机制 文档。 updateManager updateManager 对象的方法列表: 注: 检查更新操作由微信在 阅读全文
posted @ 2018-09-08 18:48
papering
阅读(697)
评论(0)
推荐(0)
摘要:
网络状态 · 小程序 https://developers.weixin.qq.com/miniprogram/dev/api/device.html#wxonnetworkstatuschangecallback 和声明的位置无关,一次声明,整个小程序 都在使用 所以放到 app.wpy? 1、在 阅读全文
posted @ 2018-09-08 17:37
papering
阅读(4935)
评论(1)
推荐(0)
摘要:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions D:\GPUGO\MP\wepy\mpBMCwepy\src\utils\wxRequest.js wepy bui 阅读全文
posted @ 2018-09-08 16:39
papering
阅读(237)
评论(0)
推荐(0)
摘要:
const f =()=>{ console.log(this) let a=5 console.log(this) console.log(this) this.ak =3} f() let a ={} a['k'] =3 阅读全文
posted @ 2018-09-08 15:54
papering
阅读(330)
评论(0)
推荐(0)
摘要:
const a = {}undefineda.j undefinedtrue 阅读全文
posted @ 2018-09-08 12:06
papering
阅读(142)
评论(0)
推荐(0)
摘要:
https://github.com/babel/babel babylon - npm https://www.npmjs.com/package/babylon Babel is a compiler for writing next generation JavaScript. https:/ 阅读全文
posted @ 2018-09-08 10:35
papering
阅读(181)
评论(0)
推荐(0)

浙公网安备 33010602011771号