- iphone11 14.7.1版本无法绘制canvas
反复测试,此确认此问题存在
2021-09-11 - wx.getUpdateManager()没效果?推了好几个新版本都没反应
// app.js文件 onLaunch: function (options) { this.autoUpdate() }, autoUpdate() { //更新新版本 if (wx.canIUse('getUpdateManager')) { const updateManager = wx.getUpdateManager() updateManager.onCheckForUpdate(function (res) { console.log('onCheckForUpdate====', res) // 请求完新版本信息的回调 if (res.hasUpdate) { console.log('res.hasUpdate====') updateManager.onUpdateReady(function () { wx.showModal({ title: '更新提示', content: '新版本已经准备好,是否重启应用?', success: function (res) { console.log('success====', res) // res: {errMsg: "showModal: ok", cancel: false, confirm: true} if (res.confirm) { // 新的版本已经下载好,调用 applyUpdate 应用新版本并重启 updateManager.applyUpdate() } } }) }) updateManager.onUpdateFailed(function () { // 新的版本下载失败 wx.showModal({ title: '已经有新版本了哟~', content: '新版本已经上线啦~,请您删除当前小程序,重新搜索打开哟~' }) }) } }) } },
2021-09-10 - 如何监听properties里面的数据变化?
在自定义组件中,我想监听properties里面的数据变化该如何监听
2021-08-13 - web-view电脑调试没问题手机上就不行了
有没有人遇到跟我一样的情况,电脑也没开关闭校验域名
2021-05-16 - 页面层嵌套,数据绑定是由哪个js文件决定?
如下有这样一个嵌套问题,如果c.wxml中使用到数据绑定,是绑定index.js中的数据还是c.js中的数据,如果是通用的该如何避免冲突呢 [图片]
2021-04-19 - wx.request的success中无发修改页面的初始数据?
下面两个方法都无法修改初始化数据中的sms,第一种是没效果,第二种直接报sms_code为空。求各位前辈指点一下 //反法一不行 Page({ /** * 页面的初始数据 */ data: { TabCur: 0, scrollLeft:0, type: 0, btn_disabled:true, sms: 0 }, onLoad: function (options) { wx.request({ url: 'http://xxx/wx/login/config', success: function(res){ this.setData({ sms:res.data.data }) } }) }, //方法二也不行 Page({ /** * 页面的初始数据 */ data: { TabCur: 0, scrollLeft:0, type: 0, btn_disabled:true, sms: 0 }, onLoad: function (options) { var sms_code; wx.request({ url: 'http://xxx/wx/login/config', success: function(res){ sms_code = res.data.data; } }) this.setData({ sms: sms_code }) },
2021-04-05 - 能在微信里面打开的网页跳转到小程序吗
能在微信里面打开的网页跳转到小程序吗?我看了网上各种资料也没看到个答案
2019-07-11 - 微信公众号消息模板
[图片] 这个模板好像换掉了对吧?找不到了
2019-06-26