更改地址以及其它

This commit is contained in:
952108534@qq.com
2022-01-22 22:54:24 +08:00
parent a17b8204db
commit 3403570766
3 changed files with 10 additions and 6 deletions

View File

@@ -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
}