mirror of https://github.com/halo-dev/halo
![]() #### What type of PR is this? /kind bug /area ui #### What this PR does / why we need it: 在个人中心的文章功能中,点击设置时并不会重新获取最新的 Post 数据,进而导致点击保存时的 `version` 并非最新版本而报错。 此 PR 将在个人中心的文章页面点击设置时,额外增加一次获取最新的 Post 数据的请求,用于解决此问题。 #### How to test it? 1. 进入个人中心 2. 点击文章菜单 3. 点击右上角创建按钮 4. 在编辑器中随便输入内容 5. 点击保存 6. 修改文章的设置后点击保存。 7. 关闭设置框,再次打开设置框,然后点击保存。 8. 查看是否会出现无法保存的问题。 #### Which issue(s) this PR fixes: Fixes #5344 #### Does this PR introduce a user-facing change? ```release-note 解决个人中心文章设置时报错的问题 ``` |
||
---|---|---|
.. | ||
layouts | ||
modules | ||
router | ||
setup | ||
views | ||
App.vue | ||
main.ts |