fix:选择model搜索后,去除条件选择type搜索,删除model条件
This commit is contained in:
@@ -918,6 +918,13 @@
|
|||||||
// endpoint弹框的asset子弹框顶部搜索条件选中事件
|
// endpoint弹框的asset子弹框顶部搜索条件选中事件
|
||||||
dropdownSelect(label) {
|
dropdownSelect(label) {
|
||||||
this.assetSearch.text = "";
|
this.assetSearch.text = "";
|
||||||
|
if(this.assetSearch.label!==label){
|
||||||
|
this.assetSearch.host = '';
|
||||||
|
this.assetSearch.sn = '';
|
||||||
|
this.assetSearch.modelId = "";
|
||||||
|
this.assetSearch.typeIds = "";
|
||||||
|
this.assetSearch.idcId = "";
|
||||||
|
}
|
||||||
this.assetSearch.label = label;
|
this.assetSearch.label = label;
|
||||||
this.assetSearch.dropdownShow = false;
|
this.assetSearch.dropdownShow = false;
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user