xuhaolan 2 years ago
parent
commit
bcbb5ea237
3 changed files with 4 additions and 4 deletions
  1. 1 1
      manifest.json
  2. 1 1
      pages/set/addressManage.vue
  3. 2 2
      store/index.js

+ 1 - 1
manifest.json

@@ -79,7 +79,7 @@
             "proxy" : {
                 "/api" : {
                     // "target" : "http://www.zjxwcm.cn/api",
-                    "target" : "http://ysg.frp.liuniu946.com/api",
+                    "target" : "http://ysg.liuniu946.com/api",
                     // "changeOrigin": true,
                     "pathRewrite" : {
                         "/api" : "" // rewrite path

+ 1 - 1
pages/set/addressManage.vue

@@ -271,7 +271,7 @@ export default {
 				this.$api.msg('请填写收货人姓名');
 				return;
 			}
-			if (!/(^1[3|4|5|7|8][0-9]{9}$)/.test(data.mobile)) {
+			if (!/(^1[2|3|4|5|6|7|8|9][0-9]{9}$)/.test(data.mobile)) {
 				this.$api.msg('请输入正确的手机号码');
 				return;
 			}

+ 2 - 2
store/index.js

@@ -7,8 +7,8 @@ Vue.use(Vuex)
 
 const store = new Vuex.Store({
 	state: {
-		// baseURL:'https://ysg.liuniu946.com',//请求地址配置 
-		baseURL:'',//请求地址配置 
+		baseURL:'https://ysg.liuniu946.com',//请求地址配置 
+		// baseURL:'',//请求地址配置 
 		urlFile:'/index',//项目部署所在文件夹
 		userInfo: {}, //登录信息
 		loginInterceptor:false,//是否打开强制登录