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: 修复空项目仍提示保存的问题 #270

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

neooier
Copy link
Contributor

@neooier neooier commented Jan 24, 2025

#255

修复方法

  • 在 StageManager 中添加 isEmpty 函数,用于判断当前项目是否为空
  • 修改 AppMenu 组件中的新建草稿和打开文件逻辑,增加对空项目的处理
  • 更新 StartFilePanel 组件中的文件加载逻辑,考虑空项目情况

- 在 StageManager 中添加 isEmpty 函数,用于判断当前项目是否为空
- 修改 AppMenu 组件中的新建草稿和打开文件逻辑,增加对空项目的处理
- 更新 StartFilePanel 组件中的文件加载逻辑,考虑空项目情况
@zty012 zty012 merged commit 9da1ffa into LiRenTech:master Jan 24, 2025
2 checks passed
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.

2 participants