修改bug

main
ihzero 2024-05-02 13:40:22 +08:00
parent 9bc454d59b
commit 41f58fb29c
4 changed files with 5 additions and 6 deletions

View File

@ -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" : {

View File

@ -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);

View File

@ -339,7 +339,7 @@
}
});
if (this.needNotificationProgress) {
uni.navigateBack()
// uni.navigateBack()
}
},
downLoadComplete() {

View File

@ -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;