|
@@ -584,7 +584,8 @@ export default {
|
|
|
this.changeSelect(data);
|
|
this.changeSelect(data);
|
|
|
this.handleQuery();
|
|
this.handleQuery();
|
|
|
},
|
|
},
|
|
|
- changeSelect(val) {
|
|
|
|
|
|
|
+ changeSelect(val) {
|
|
|
|
|
+ if(!val || !val.id) return;
|
|
|
getHostByOrgId(val).then((response) => {
|
|
getHostByOrgId(val).then((response) => {
|
|
|
this.form.hostId = null;
|
|
this.form.hostId = null;
|
|
|
this.hostList = response.data;
|
|
this.hostList = response.data;
|