Demo:导入数据时隐藏搜索框

This commit is contained in:
wanglin2 2025-02-01 11:34:17 +08:00
parent c95919a1a0
commit 24365a22c3

View File

@ -125,6 +125,7 @@ export default {
)
this.mindMap.keyCommand.addShortcut('Control+f', this.showSearch)
window.addEventListener('resize', this.setSearchResultListHeight)
this.$bus.$on('setData', this.close)
},
mounted() {
this.setSearchResultListHeight()
@ -141,6 +142,7 @@ export default {
)
this.mindMap.keyCommand.removeShortcut('Control+f', this.showSearch)
window.removeEventListener('resize', this.setSearchResultListHeight)
this.$bus.$off('setData', this.close)
},
methods: {
isUndef,