添加软件启动时是否自动聚焦搜索框的设置
This commit is contained in:
@@ -75,6 +75,9 @@ export default {
|
||||
n ? this.showList() : this.hideList()
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
if (this.$store.getters.setting.search.isFocusSearchBox) this.$refs.dom_input.focus()
|
||||
},
|
||||
methods: {
|
||||
handleTemplistClick(index) {
|
||||
this.sendEvent('listClick', index)
|
||||
|
||||
Reference in New Issue
Block a user