feat: 过滤地址
This commit is contained in:
+474
-532
File diff suppressed because it is too large
Load Diff
@@ -245,9 +245,21 @@ export default {
|
||||
if (!params.id || params.id === 0) {
|
||||
delete params.id;
|
||||
}
|
||||
if (!params.townshipId || params.townshipId === 0) {
|
||||
delete params.townshipId;
|
||||
}
|
||||
if (!params.areaId || params.areaId === 0) {
|
||||
delete params.areaId;
|
||||
}
|
||||
if (!params.cityId || params.cityId === 0) {
|
||||
delete params.cityId;
|
||||
}
|
||||
if (!params.provinceId || params.provinceId === 0) {
|
||||
delete params.provinceId;
|
||||
}
|
||||
if (!params.countryId || params.countryId === 0) {
|
||||
delete params.countryId;
|
||||
}
|
||||
delete params.regionStr;
|
||||
const res = await editAddress(params);
|
||||
if (res && res.bizcode === 100) {
|
||||
|
||||
Reference in New Issue
Block a user