cmy 2 anni fa
parent
commit
53c2ded8f9
2 ha cambiato i file con 16 aggiunte e 16 eliminazioni
  1. 15 15
      pages/public/redirect.vue
  2. 1 1
      store/index.js

+ 15 - 15
pages/public/redirect.vue

@@ -116,20 +116,20 @@
 						ur = obj.successUrl
 					}
 
-					if (!e.data.phone) {
-						uni.showModal({
-							title: '提示',
-							content: '请先绑定手机号',
-							showCancel: false,
-							success: res => {
-								if (res.confirm) {
-									uni.navigateTo({
-										url: '/pages/set/phone',
-									});
-								}
-							},
-						});
-					} else {
+					// if (!e.data.phone) {
+					// 	uni.showModal({
+					// 		title: '提示',
+					// 		content: '请先绑定手机号',
+					// 		showCancel: false,
+					// 		success: res => {
+					// 			if (res.confirm) {
+					// 				uni.navigateTo({
+					// 					url: '/pages/set/phone',
+					// 				});
+					// 			}
+					// 		},
+					// 	});
+					// } else {
 						uni.switchTab({
 							url: ur,
 							fail(e) {
@@ -143,7 +143,7 @@
 								});
 							}
 						});
-					}
+					// }
 				}).catch((e) => {
 					uni.showModal({
 						title: '错误',

+ 1 - 1
store/index.js

@@ -7,7 +7,7 @@ Vue.use(Vuex)
 const store = new Vuex.Store({
 	state: {
 		// baseURL:"http://yrh.liuniu946.com",//'http://eb.shuibo.net',//请求地址配置 
-		baseURL:'http://xjkqs.tabsoft.cn/',//请求地址配置 
+		baseURL:'http://xjkqs.tabsoft.cn',//请求地址配置 
 		// baseURL:'http://dp.frp.shuibo.net',//请求地址配置 
 		urlFile:'/index',//项目部署所在文件夹
 		hasLogin:false,