fix: Nuclide Library 弹框在切换页面时未消失的问题

This commit is contained in:
Xu Zhimeng 2023-12-12 10:52:00 +08:00
parent 834de12b96
commit 1845a928df

View File

@ -253,6 +253,9 @@ export default {
window.removeEventListener('keydown', this.handleKeyboardEvent)
},
deactivated() {
this.nuclideLibraryVisible = false
},
mounted() {
this.option.brush = { toolbox: [] }
this.initWebSocket()