Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: the value still in when file reopen #228

Merged
merged 2 commits into from
Jul 8, 2021
Merged

fix: the value still in when file reopen #228

merged 2 commits into from
Jul 8, 2021

Conversation

mortalYoung
Copy link
Collaborator

简介

  • 修复当文件关闭后再次打开, value 值仍然存在的问题

主要变更

  • 所有关闭 tab 的操作时,应该销毁掉 tab 对应的 model
  • 发现 close tab 的时候不需要去执行 updateCurrentValue 这个操作,只需要去切换 model 即可

@wewoor wewoor merged commit 2b9002b into main Jul 8, 2021
@wewoor wewoor deleted the fix/editor branch July 8, 2021 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants