|
@@ -12,11 +12,6 @@ export default function initSys() {
|
|
|
code: versionCode
|
|
|
})
|
|
|
.then(res => {
|
|
|
-<<<<<<< HEAD
|
|
|
- console.log(res.data, 8888)
|
|
|
-=======
|
|
|
- // console.log(res.data, 8888)
|
|
|
->>>>>>> 44ddb39d08bc04218f8a3299959f78720024ad8f
|
|
|
if (res.code == 200) {
|
|
|
if (appType != "ios") {
|
|
|
if (wgtinfo.versionCode < res.data.app_code) {
|
|
@@ -40,11 +35,6 @@ export default function initSys() {
|
|
|
if (result) {
|
|
|
var pathNew = plus.io
|
|
|
.convertAbsoluteFileSystem(result);
|
|
|
-<<<<<<< HEAD
|
|
|
- console.log(pathNew);
|
|
|
-=======
|
|
|
- // console.log(pathNew);
|
|
|
->>>>>>> 44ddb39d08bc04218f8a3299959f78720024ad8f
|
|
|
plus.runtime.install(pathNew, {
|
|
|
force: false
|
|
|
}, function() {
|