main
liudan 1 year ago
parent ea080e423a
commit 6227501e25
  1. 2
      common/http.interceptor.js
  2. 16
      pages/login/login.vue
  3. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map
  4. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/login/login.js.map
  5. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/my/feedback.js.map
  6. 2
      unpackage/dist/dev/mp-weixin/common/vendor.js
  7. 16
      unpackage/dist/dev/mp-weixin/pages/login/login.js

@ -76,7 +76,7 @@ module.exports = (vm) => {
icon:'none'
});
if(data.code==401){
uni.navigateTo({
uni.reLaunch({
url:'/pages/login/login'
})
}

@ -145,14 +145,14 @@
})
return;
}
let reg = /^1[3456789]\d{9}$/
let result = reg.test(this.form.account);
if(!result) {
this.$refs.uToast.show({
message:'请输入正确的手机号码'
})
return false;
}
// let reg = /^1[3456789]\d{9}$/
// let result = reg.test(this.form.account);
// if(!result) {
// this.$refs.uToast.show({
// message:''
// })
// return false;
// }
if(!this.form.password){
this.$refs.uToast.show({
message:'请输入密码'

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -19374,7 +19374,7 @@ module.exports = function (vm) {
icon: 'none'
});
if (data.code == 401) {
uni.navigateTo({
uni.reLaunch({
url: '/pages/login/login'
});
}

@ -235,14 +235,14 @@ var _default = {
});
return;
}
var reg = /^1[3456789]\d{9}$/;
var result = reg.test(this.form.account);
if (!result) {
this.$refs.uToast.show({
message: '请输入正确的手机号码'
});
return false;
}
// let reg = /^1[3456789]\d{9}$/
// let result = reg.test(this.form.account);
// if(!result) {
// this.$refs.uToast.show({
// message:'请输入正确的手机号码'
// })
// return false;
// }
if (!this.form.password) {
this.$refs.uToast.show({
message: '请输入密码'

Loading…
Cancel
Save