From 4cc846aea98cc0dc692302dfa1e60f675838ef61 Mon Sep 17 00:00:00 2001 From: bb_pan Date: Tue, 29 Apr 2025 13:52:07 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apis/http.js | 2 +- apis/request.js | 2 +- pages/login/login.vue | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apis/http.js b/apis/http.js index 9083be8..4cf0373 100644 --- a/apis/http.js +++ b/apis/http.js @@ -10,7 +10,7 @@ class HttpConfig { // baseUrl = "http://112.29.103.165:21626" // baseUrl = "http://172.20.10.3:8080" // baseUrl = "http://10.40.92.8:8080" - // baseUrl = "http://10.40.92.52:28080" + // baseUrl = "http://192.168.0.96:28080" // baseUrl = "http://10.40.92.78:28080" // baseUrl = "http://192.168.2.127:28080" // baseUrl = "https://z.csgmall.com.cn/gl" diff --git a/apis/request.js b/apis/request.js index 10b7d56..6a14edb 100644 --- a/apis/request.js +++ b/apis/request.js @@ -7,7 +7,7 @@ class Http{ method:"GET", dataType:'json', header:{ - 'content-type':'application/json', + // 'content-type':'application/json', 'Authorization': uni.getStorageSync('token'), ...header }, diff --git a/pages/login/login.vue b/pages/login/login.vue index 1d0e09b..8630415 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -352,7 +352,7 @@ this.$api.update .fetchAppVer() .then((res) => { - console.log(res); + console.log('🚀 ~ .then ~ res -版本检查:', res) if (res.data.code == 200) { serveVer = res.data.data[0].versionName.replace( /\./g, @@ -361,7 +361,7 @@ apkPath = res.data.data[0].apkPath; // 比较版本大小 setTimeout(() => { - console.log(nowVer, serveVer, apkPath); + console.log(nowVer, serveVer, apkPath, '--->>> 版本检查'); if (nowVer < serveVer) { uni.showModal({ title: "版本升级",