@@ -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
@@ -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('请输入正确的手机号码');
@@ -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,//是否打开强制登录