修改bug
parent
9bc454d59b
commit
41f58fb29c
|
|
@ -2,8 +2,8 @@
|
|||
"name" : "托管门店助手",
|
||||
"appid" : "__UNI__ADB6360",
|
||||
"description" : "",
|
||||
"versionName" : "1.0.0",
|
||||
"versionCode" : "100",
|
||||
"versionName" : "1.0.1",
|
||||
"versionCode" : "101",
|
||||
"transformPx" : false,
|
||||
/* 5+App特有相关 */
|
||||
"app-plus" : {
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ export default function () {
|
|||
|
||||
const info = resData[systemInfo.platform];
|
||||
let resInfo = null
|
||||
if (info == null) {
|
||||
if (info == null || appVersion >= info?.version) {
|
||||
resInfo = {
|
||||
code: 0
|
||||
}
|
||||
|
|
@ -62,8 +62,6 @@ export default function () {
|
|||
code: info.update_strategy === 'wgt' ? 101 : 102
|
||||
}
|
||||
}
|
||||
|
||||
console.log(resInfo);
|
||||
resolve(resInfo);
|
||||
}).catch(err => {
|
||||
reject(err);
|
||||
|
|
|
|||
|
|
@ -339,7 +339,7 @@
|
|||
}
|
||||
});
|
||||
if (this.needNotificationProgress) {
|
||||
uni.navigateBack()
|
||||
// uni.navigateBack()
|
||||
}
|
||||
},
|
||||
downLoadComplete() {
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ import { useGlobSetting } from '@/config';
|
|||
import { useUserStoreWithOut } from '@/store/modules/user';
|
||||
const { apiUrl } = useGlobSetting();
|
||||
const systemInfo = uni.getSystemInfoSync();
|
||||
|
||||
const http = new Request();
|
||||
http.setConfig((config) => {
|
||||
config.baseURL = apiUrl;
|
||||
|
|
|
|||
Loading…
Reference in New Issue