摘要:
1、创建项目 2、生成新模块 3、引入双向绑定模块儿 app.module.ts 中添加 4、父组件和子组件的交互 父页面中: 子组件中: 5、生成service 6、类promise 更好的 “订阅” 7、添加路由 8、HttpClient 9、 搜索请求的处理 及 异步请求的 处理 控制器: h 阅读全文
摘要:
checkUpdate(){ console.log('----->>checkVersionUpadte') const updateManager = wx.getUpdateManager() updateManager.onCheckForUpdate(function (res) { // 请求完新版本信息的回调 console.log(... 阅读全文