01b8601dcd795d11104d4625ff9c2f3cc3d6a1bf
问题:
1. uni.showLoading 每次调用都是关→开,进度回调中连续调用导致疯狂闪烁
2. 安装完成后弹窗询问重启,用户选「稍后」则必须手动杀后台
修复:
1. 替换 uni.showLoading → plus.nativeUI.showWaiting
原生等待框支持原地更新文字,下载进度平滑过渡,零闪烁
2. 安装成功后移除重启询问弹窗,改为:
plus.nativeUI.toast('新版本已就绪,即将重启...')
→ 2秒后 setTimeout → plus.runtime.restart()
用户无需任何操作,2秒后自动生效
Description
IRIS生成管理APP
Languages
Python
36.2%
TypeScript
33.8%
Vue
27.5%
JavaScript
1.3%
CSS
0.3%
Other
0.9%