1***@qq.com
1***@qq.com
  • 发布:2020-12-30 10:10
  • 更新:2020-12-30 10:10
  • 阅读:1188

uniapp 热更新后 使用plus.runtime.restart() 卡死在启动页面

分类:uni-app

uni.downloadFile({
url: res.data.url,
success: (downloadResult) => {
if (downloadResult.statusCode === 200) {
plus.runtime.install(downloadResult.tempFilePath, {
force: false
}, function() {
plus.runtime.restart();
}, function(e) {
console.error('install fail...');
});
}
}
})

Hbuilderx版本:2.9.8

2020-12-30 10:10 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复