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

嵌入块删除后撤销会出现渲染两个完全一致的查询结果 #6138

Closed
1 task done
Zuoqiu-Yingyi opened this issue Oct 10, 2022 · 0 comments
Closed
1 task done
Assignees
Labels
Milestone

Comments

@Zuoqiu-Yingyi
Copy link
Contributor

该问题是否已经被报告过了? Is there an existing issue for this?

  • 我已经搜索了 Issues,没有发现类似问题
    I have searched the existing issues

描述问题 Describe the problem

查看 API 请求时发现, 撤销嵌入块的删除操作时调用了两次 /api/block/getTreeStat, 导致渲染了两个完全一致的查询结果

期待的结果 Expected result

嵌入块删除后撤销只渲染一次查询结果

截屏或者录屏演示 Screenshot or screen recording presentation

image

版本环境 Version environment

- Version: 2.3.2
- Operating System: 
- Browser (if used):

日志文件 Log file

Uncaught TypeError: Cannot read properties of null (reading 'indexOf')
    at HTMLDivElement.<anonymous> (main.4e1cf8ae5dcd37ef68ee.js:1:970329)
(anonymous) @ main.4e1cf8ae5dcd37ef68ee.js:1

更多信息 More information

No response

@Vanessa219 Vanessa219 self-assigned this Oct 10, 2022
@Vanessa219 Vanessa219 added the Bug label Oct 10, 2022
@Vanessa219 Vanessa219 added this to the 2.3.3 milestone Oct 10, 2022
Vanessa219 added a commit that referenced this issue Oct 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants