修改文章标题之后保存可能会保存失败 #5579
Labels
area/core
Issues or PRs related to the Halo Core
area/ui
Issues or PRs related to the Halo UI
kind/bug
Categorizes issue or PR as related to a bug.
priority/critical-urgent
Highest priority. Must be actively worked on as someone's top priority right now.
Milestone
系统信息
使用的哪种方式运行?
Source Code
发生了什么?
在 #5465 合并之后,修改文章并保存时,修改内容接口可能会遇到锁的错误(metadata.version 不匹配)。
这里的逻辑是,前端会监测标题的改动,下次保存内容前如果发现标题有改动,会先保存文章,然后再立即保存文章内容。这个时候在后端就有一定几率会触发这个异常。
/area ui
/area core
/kind bug
相关日志输出
附加信息
No response
The text was updated successfully, but these errors were encountered: