Commit c615e028 authored by chenwei's avatar chenwei

国家选择判空

parent 6f09e64d
...@@ -268,12 +268,16 @@ export default { ...@@ -268,12 +268,16 @@ export default {
}); });
}, },
handleGetCityList(id) { handleGetCityList(id) {
let params = { if (id) {
id: id, let params = {
}; id: id,
getCityList(params).then((res) => { };
this.cityList = res.data; getCityList(params).then((res) => {
}); this.cityList = res.data;
});
} else {
this.cityList = [];
}
}, },
handleQuery() { handleQuery() {
this.queryParams.pageNo = 1; this.queryParams.pageNo = 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment