mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-11-23 10:56:52 +08:00
更改地址以及其它
This commit is contained in:
@@ -104,23 +104,23 @@ export default {
|
||||
|
||||
register(){
|
||||
console.log(this.tel)
|
||||
if (!/^[1][3,4,5,7,8][0-9]{9}$/.test(this.tel) || this.tel === "") {
|
||||
if ( this.alladdress==='') {
|
||||
this.$message({
|
||||
type: 'warning',
|
||||
message: '手机号码输入有误'
|
||||
message: '请输入详细地址 '
|
||||
});
|
||||
return
|
||||
}else if(this.alladdress===''){
|
||||
}if(!/^[1][3,4,5,7,8][0-9]{9}$/.test(this.tel) || this.tel === ""){
|
||||
this.$message({
|
||||
type: 'warning',
|
||||
message: '请输入详细地址'
|
||||
message: '手机号码输入有误'
|
||||
});
|
||||
return
|
||||
}
|
||||
else if(this.userpeople===''){
|
||||
this.$message({
|
||||
type: 'warning',
|
||||
message: '请输入姓名'
|
||||
message: '请填写收货人'
|
||||
});
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user