|
@@ -498,8 +498,12 @@ const getDtl = (row) => {
|
|
|
};
|
|
|
});
|
|
|
}
|
|
|
- getCityData(res.countryId, "20");
|
|
|
- getCityData(res.provinceId, "30");
|
|
|
+ if (res.countryId) {
|
|
|
+ getCityData(res.countryId, "20");
|
|
|
+ }
|
|
|
+ if (res.provinceId) {
|
|
|
+ getCityData(res.provinceId, "30");
|
|
|
+ }
|
|
|
res.type = res.type + "";
|
|
|
formData.data = res;
|
|
|
dialogVisible.value = true;
|