no message
This commit is contained in:
@@ -246,6 +246,8 @@ export default {
|
|||||||
this.form.areaId = regionId[3] ? regionId[3] : null;
|
this.form.areaId = regionId[3] ? regionId[3] : null;
|
||||||
this.form.townshipId = regionId[4] ? regionId[4] : null;
|
this.form.townshipId = regionId[4] ? regionId[4] : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
this.regionShowCheck(false);
|
this.regionShowCheck(false);
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -300,7 +302,15 @@ export default {
|
|||||||
if (!params.countryId || params.countryId === 0) {
|
if (!params.countryId || params.countryId === 0) {
|
||||||
delete params.countryId;
|
delete params.countryId;
|
||||||
}
|
}
|
||||||
|
|
||||||
delete params.regionStr;
|
delete params.regionStr;
|
||||||
|
if(params.countryId != 47021){
|
||||||
|
this.$refs.uToastRef.show({
|
||||||
|
type: "error",
|
||||||
|
message: '选择地址错误'
|
||||||
|
});
|
||||||
|
return;
|
||||||
|
}
|
||||||
const res = await editAddress(params);
|
const res = await editAddress(params);
|
||||||
if (res && res.bizcode === 100) {
|
if (res && res.bizcode === 100) {
|
||||||
this.$refs.uToastRef.show({
|
this.$refs.uToastRef.show({
|
||||||
|
|||||||
Reference in New Issue
Block a user