From 70e12e56181bcc4919d90f0d8d84f79e28205682 Mon Sep 17 00:00:00 2001 From: gyj Date: Wed, 10 Jan 2024 18:09:46 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E8=8A=82=E7=B3=BB=E7=BB=9F=E5=BC=80?= =?UTF-8?q?=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 2 +- config.js | 7 ++++--- pages.json | 10 ++++++++-- pages/login.vue | 15 ++++++++++++--- permission.js | 7 ++++--- utils/request.js | 13 ++++++++----- 6 files changed, 37 insertions(+), 17 deletions(-) diff --git a/App.vue b/App.vue index eb4230c..8279497 100644 --- a/App.vue +++ b/App.vue @@ -32,7 +32,7 @@ }, checkLogin() { if (!getToken()) { - this.$tab.reLaunch('/pages/login') + this.$tab.reLaunch('/pages/switchSystem') } } } diff --git a/config.js b/config.js index 1b93a6c..7b0bac2 100644 --- a/config.js +++ b/config.js @@ -1,10 +1,11 @@ // 应用全局配置 module.exports = { // baseUrl: 'https://api.xayunmei.com/zhongcaiapi', - baseUrl: 'https://api.xayunmei.com/zhongcaiapitest', + // baseUrl: 'https://api.xayunmei.com/zhongcaiapitest', // baseUrl: 'http://121.40.189.20:9001', - // baseUrl: 'http://121.40.189.20:8001', - // baseUrl: 'http://192.168.3.77:8080', + baseUrlZC: 'http://121.40.189.20:6001', + baseUrlTJ: 'http://121.40.189.22:8001', + // baseUrl: 'http://172.16.1.24:8001', // baseUrl: 'http://localhost:8080', // baseUrl: 'http://192.168.3.18:9001', // 应用信息 diff --git a/pages.json b/pages.json index f4db920..d424c41 100644 --- a/pages.json +++ b/pages.json @@ -1,8 +1,14 @@ { - "pages": [{ + "pages": [ + { + "path": "pages/switchSystem", + "style": { + "navigationBarTitleText": "" + } + }, { "path": "pages/login", "style": { - "navigationBarTitleText": "登录" + "navigationBarTitleText": "" } }, { "path": "pages/register", diff --git a/pages/login.vue b/pages/login.vue index e1ca7d0..dff3a8e 100644 --- a/pages/login.vue +++ b/pages/login.vue @@ -1,9 +1,14 @@