AlphaFoxz/monaco-tree-editor

[bug][medium]Component not refresh

Closed this issue · 1 comments

打开多个标签页时,用鼠标中键点击的方式关闭未激活的标签页(当前激活标签的前一个标签),会导致关闭当前激活的标签,但实际上是组件未刷新。
初步猜测是组件刷新逻辑与 vue 底层缓存优化机制冲突导致的

When multiple tabs are open, closing the inactive tab (the tab before the currently active tab) by clicking with the middle mouse button will cause the currently active tab to be closed, but the component is not actually refreshed.
The initial guess is that the component refresh logic conflicts with the underlying cache optimization mechanism of Vue.

same as #2