Browse Source

bug 修复

lilei 4 years ago
parent
commit
98c05849e9
2 changed files with 3 additions and 3 deletions
  1. 1 1
      App.vue
  2. 2 2
      pages/login/login.vue

+ 1 - 1
App.vue

@@ -2,7 +2,7 @@
 	const uat_URL = 'https://channel.test.zyucgj.com/zyyc-channel/' // 预发布
 	// const uat_URL = 'http://192.168.16.102:7103/zyyc-channel/' // 本地
 	const pro_URL = 'https://channel.zy-yc.cn/zyyc-channel/'  // 生产
-	const buildType = 0 // 打包环境对应类型,1 生产 0 预发布
+	const buildType = 1 // 打包环境对应类型,1 生产 0 预发布
 	const buildURL = buildType ? pro_URL : uat_URL // 打包后实际对应的url
 	const envText = ['预发布环境','生产环境']
 	const envTips = process.env.NODE_ENV == 'development' ? envText[0] : envText[buildType]

+ 2 - 2
pages/login/login.vue

@@ -41,14 +41,14 @@ export default {
 				password: this.$store.state.vuex_user.password
 			},
 			isRemember: true, //  是否记住密码
-			isAuthuserYs: false, // 是否同意隐私政策
+			isAuthuserYs: true, // 是否同意隐私政策
 			envTips: '',
 			buildType: '',
 		};
 	},
 	mounted() {
 		this.isRemember = this.$store.state.vuex_isRemember || true;
-		this.isAuthuserYs = this.$store.state.vuex_isUsrAuthYs || false;
+		this.isAuthuserYs = this.$store.state.vuex_isUsrAuthYs || true;
 		this.envTips = getApp().globalData.envTips;
 		this.buildType = getApp().globalData.buildType;
 	},