Skip to content

Commit

Permalink
Update update.js
Browse files Browse the repository at this point in the history
  • Loading branch information
hbcui1984 committed Jul 24, 2020
1 parent 1439508 commit 519a9cf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion examples/hello-mui/js/update.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,7 @@ function update() {
});
}

mui.os.plus && !mui.os.stream && mui.plusReady(update);
// 真机运行不需要检查更新,真机运行时appid固定为'HBuilder',这是调试基座的appid
if(plus.runtime.appid !== 'HBuilder' && mui.os.plus && !mui.os.stream ){
mui.plusReady(update);
}

0 comments on commit 519a9cf

Please sign in to comment.