Kaynağa Gözat

fix:起始页修改为登录页

xyh8905170 2 yıl önce
ebeveyn
işleme
892245251a
2 değiştirilmiş dosya ile 10 ekleme ve 10 silme
  1. 2 2
      common/js/env.js
  2. 8 8
      pages.json

+ 2 - 2
common/js/env.js

@@ -1,9 +1,9 @@
 "use strict";
 
 // let baseUrl = `https://jje.admin.xinyuekj.com.cn`
-// let baseUrl = `https://jje.admin.xinyuekj.com.cn/test-api`
+let baseUrl = `https://jje.admin.xinyuekj.com.cn/test-api`
 // let baseUrl = `http://65i1sxopd9qp.ngrok.xiaomiqiu123.top`
-let baseUrl = `http://47.108.114.127:10888`
+// let baseUrl = `http://47.108.114.127:10888`
 // let baseUrl = `https://jje.xinyuekj.com.cn/prod-api`
 
 

+ 8 - 8
pages.json

@@ -5,7 +5,13 @@
 	},
 
 	"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
-
+		{
+			"path": "pages/login/login",
+			"style": {
+				"navigationStyle": "custom",
+				"enablePullDownRefresh": false
+			}
+		},
 		{
 			"path": "pages/index/index",
 			"style": {
@@ -44,13 +50,7 @@
 				"enablePullDownRefresh" : false
 			}
 		},
-		{
-			"path": "pages/login/login",
-			"style": {
-				"navigationStyle": "custom",
-				"enablePullDownRefresh": false
-			}
-		},
+
 		{
 			"path" : "pages/register/register",
 			"style" :