小程序
小游戏
企业微信
微信支付
扫描小程序码分享
发布过若干次小程序,今天第一次遇到这种情况,以往知道是客户端缓存,所以删掉小程序进程再打开也就能更新到新版了,这次试了很多次仍然不行。 后来发现,需要把小程序从“我的小程序”中移除才会更新。这可能是微信的一个bug吧?
似乎连这个提问的用的编辑器也出了了bug,回车不能正常显示。
1 个回答
加粗
标红
插入代码
插入链接
插入图片
上传视频
const updateManager = wx.getUpdateManager();
App({
onLaunch: function() {
var that = this;
updateManager.onCheckForUpdate(function(res) {
})
updateManager.onUpdateReady(function() {
updateManager.applyUpdate()
app.js中这样加下,有新版本会提示自动更新
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号
const updateManager = wx.getUpdateManager();
App({
onLaunch: function() {
var that = this;
updateManager.onCheckForUpdate(function(res) {
})
updateManager.onUpdateReady(function() {
updateManager.applyUpdate()
})
app.js中这样加下,有新版本会提示自动更新