six_uniapp_0006
This commit is contained in:
@@ -3,7 +3,7 @@ export const checkUpdate更新小程序版本 = async (): Promise<void> => {
|
||||
|
||||
updateManager.onCheckForUpdate(function (res) {
|
||||
// 请求完新版本信息的回调
|
||||
console.log(res.hasUpdate);
|
||||
console.log("是否有版本更新没有为false,有则为true", res.hasUpdate);
|
||||
});
|
||||
|
||||
updateManager.onUpdateReady(function () {
|
||||
|
||||
Reference in New Issue
Block a user