Commit cb6ceaa0 by sunchao

plus报错提示

parent 8093b395
......@@ -3,8 +3,9 @@
export default {
onLaunch: function() {
console.log('App Launch');
// #ifdef APP-PLUS
uni.downloadFile({
url: '/cffpUpdate/__UNI__65C4CDC.wgt',
url: '/cffpUpdate/__UNI__ED34740.wgt',
success: (downloadResult) => {
if (downloadResult.statusCode === 200) {
plus.runtime.install(downloadResult.tempFilePath, {
......@@ -17,7 +18,8 @@
});
}
}
});
});
// #endif
// uni.getSystemInfo({
// success:(systemInfo)=> {
// uni.request({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment