摘要: @input 阅读全文
posted @ 2018-09-09 22:01 papering 阅读(152) 评论(0) 推荐(0)
摘要: Console Standard https://console.spec.whatwg.org/#log File an issue about the selected text Console Living Standard — Last Updated 21 July 2018 Partic 阅读全文
posted @ 2018-09-09 17:07 papering 阅读(266) 评论(0) 推荐(0)
摘要: wepy 实现 用户名登录与短信验证码登录 阅读全文
posted @ 2018-09-09 16:59 papering 阅读(369) 评论(0) 推荐(0)
摘要: wepy/packages/wepy-web/src/helper/device.js https://github.com/Tencent/wepy/blob/bd0003dca2bfb9581134e1b05d4aa1d80fc53858/packages/wepy-web/src/helper 阅读全文
posted @ 2018-09-09 16:57 papering 阅读(415) 评论(0) 推荐(0)
摘要: 【最近30天】消费总金额{{apiRes.RecentConsumeTotal.consume}}币,充值总金额{{apiRes['RecentConsumeTotal']['recharge']}}币 【当前】冻结金额{{apiRes.AccountBalance['1'].freeze}}币,当前余额{{apiRes.Acco... 阅读全文
posted @ 2018-09-09 16:55 papering 阅读(233) 评论(0) 推荐(0)
摘要: https://github.com/axios/axios Features Make XMLHttpRequests from the browser Make http requests from node.js Supports the Promise API Intercept reque 阅读全文
posted @ 2018-09-09 16:52 papering 阅读(157) 评论(0) 推荐(0)
摘要: 是小程序实例化后 读入内存 还是每次调用从文件系统读取 https://github.com/Tencent/wepy/blob/bd0003dca2bfb9581134e1b05d4aa1d80fc53858/packages/wepy-web/src/wx.js 数据缓存 · 小程序 https 阅读全文
posted @ 2018-09-09 16:38 papering 阅读(560) 评论(0) 推荐(0)
摘要: getStorageSync 在程序运行中是在内存 还是去文件系统读取? const UID = this.$parent.UID wx.getStorageSync('UID') 性能的差异 const UID = this.$parent.UID wx.getStorageSync('UID') 阅读全文
posted @ 2018-09-09 15:02 papering 阅读(277) 评论(0) 推荐(0)
摘要: 运行机制 · 小程序 https://developers.weixin.qq.com/miniprogram/dev/framework/operating-mechanism.html?search-key=reLaunch 运行机制 小程序启动会有两种情况,一种是「冷启动」,一种是「热启动」。 阅读全文
posted @ 2018-09-09 14:03 papering 阅读(1992) 评论(0) 推荐(0)
摘要: 登录成功后的获取的帐号的基础资料的本地存储和内存访问 本地存储 下次无需使用帐号密码 内存访问 已经登录状态后,对数据的快速读取 阅读全文
posted @ 2018-09-09 12:16 papering 阅读(279) 评论(0) 推荐(0)
摘要: 注册页面 | 微信开放文档 https://developers.weixin.qq.com/miniprogram/dev/framework/app-service/page.html Page(Object object) | 微信开放文档 https://developers.weixin. 阅读全文
posted @ 2018-09-09 12:08 papering 阅读(1755) 评论(0) 推荐(0)
摘要: 每个微信小程序都可以有自己的本地缓存 数据缓存 · 小程序 https://developers.weixin.qq.com/miniprogram/dev/api/data.html 每个微信小程序都可以有自己的本地缓存,可以通过 wx.setStorage(wx.setStorageSync)、 阅读全文
posted @ 2018-09-09 09:58 papering 阅读(449) 评论(0) 推荐(0)