Commit cb6ceaa0 by sunchao

plus报错提示

parent 8093b395
...@@ -3,8 +3,9 @@ ...@@ -3,8 +3,9 @@
export default { export default {
onLaunch: function() { onLaunch: function() {
console.log('App Launch'); console.log('App Launch');
// #ifdef APP-PLUS
uni.downloadFile({ uni.downloadFile({
url: '/cffpUpdate/__UNI__65C4CDC.wgt', url: '/cffpUpdate/__UNI__ED34740.wgt',
success: (downloadResult) => { success: (downloadResult) => {
if (downloadResult.statusCode === 200) { if (downloadResult.statusCode === 200) {
plus.runtime.install(downloadResult.tempFilePath, { plus.runtime.install(downloadResult.tempFilePath, {
...@@ -18,6 +19,7 @@ ...@@ -18,6 +19,7 @@
} }
} }
}); });
// #endif
// uni.getSystemInfo({ // uni.getSystemInfo({
// success:(systemInfo)=> { // success:(systemInfo)=> {
// uni.request({ // 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