修改sc-table-select可以主动触发显示和隐藏
This commit is contained in:
parent
e5b8dcd10d
commit
d899ba3529
|
@ -207,6 +207,14 @@
|
||||||
}
|
}
|
||||||
this.keyword = keyword;
|
this.keyword = keyword;
|
||||||
this.getData()
|
this.getData()
|
||||||
|
},
|
||||||
|
// 触发select隐藏
|
||||||
|
blur(){
|
||||||
|
this.$refs.select.blur();
|
||||||
|
},
|
||||||
|
// 触发select显示
|
||||||
|
focus(){
|
||||||
|
this.$refs.select.focus();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue