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