menchuang 1 jaar geleden
bovenliggende
commit
c643efdd22
3 gewijzigde bestanden met toevoegingen van 9 en 9 verwijderingen
  1. 2 2
      config.js
  2. 6 6
      pages.json
  3. 1 1
      pages/login.vue

+ 2 - 2
config.js

@@ -1,10 +1,10 @@
 // 应用全局配置
 module.exports = {
-	// baseUrl: 'https://www.xcx.cczdsz.cn/prod-api',
+	baseUrl: 'https://www.xcx.cczdsz.cn/prod-api',
 	// baseUrl: 'http://192.168.4.6:8080',
 	// baseUrl: 'http://192.168.4.20:8080',
 	// baseUrl: 'http://192.168.4.11:8080',
-	baseUrl: 'http://192.168.4.23:8080',
+	// baseUrl: 'http://192.168.4.23:8080',
 	// baseUrl: 'http://192.168.4.14:8089',
 	baseIconUrl: 'https://www.xcx.cczdsz.cn/app/images/',
 	// 应用信息

+ 6 - 6
pages.json

@@ -129,16 +129,16 @@
 		"selectedColor": "#2a95f1",
 		"borderStyle": "white",
 		"backgroundColor": "#ffffff",
-		"list": [{
-			"pagePath": "pages/index",
-			"iconPath": "static/images/tabbar/gg.png",
-			"selectedIconPath": "static/images/tabbar/gg_.png",
-			"text": "公告"
-		}, {
+		"list": [ {
 			"pagePath": "pages/work/index",
 			"iconPath": "static/images/tabbar/home.png",
 			"selectedIconPath": "static/images/tabbar/home_.png",
 			"text": "首页"
+		},{
+			"pagePath": "pages/index",
+			"iconPath": "static/images/tabbar/gg.png",
+			"selectedIconPath": "static/images/tabbar/gg_.png",
+			"text": "公告"
 		}, {
 			"pagePath": "pages/statistics/statistics",
 			"iconPath": "static/images/tabbar/tj.png",

+ 1 - 1
pages/login.vue

@@ -107,7 +107,7 @@
 			loginSuccess(result) {
 				// 设置用户信息
 				this.$store.dispatch('GetInfo').then(res => {
-					this.$tab.reLaunch('/pages/index')
+					this.$tab.reLaunch('/pages/work/index')
 				})
 			}
 		}