diff --git a/examples/hello-mui/js/update.js b/examples/hello-mui/js/update.js index 17359d7c..8900fe3f 100644 --- a/examples/hello-mui/js/update.js +++ b/examples/hello-mui/js/update.js @@ -39,4 +39,7 @@ function update() { }); } -mui.os.plus && !mui.os.stream && mui.plusReady(update); \ No newline at end of file +// 真机运行不需要检查更新,真机运行时appid固定为'HBuilder',这是调试基座的appid +if(plus.runtime.appid !== 'HBuilder' && mui.os.plus && !mui.os.stream ){ + mui.plusReady(update); +} \ No newline at end of file