mirror of
https://github.com/wanglin2/mind-map.git
synced 2026-02-26 12:57:42 +08:00
Demo:导入数据时隐藏搜索框
This commit is contained in:
parent
c95919a1a0
commit
24365a22c3
@ -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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user