This repository was archived by the owner on Aug 12, 2025. It is now read-only.
Commit bc3337b
authored
fix: saving an post causes the publish time to be lost (#809)
#### What type of PR is this?
/kind bug
#### What this PR does / why we need it:
修复保存文章设置导致发布时间丢失的问题。
see #807
#### Which issue(s) this PR fixes:
Fixes halo-dev/halo#3080
#### Special notes for your reviewer:
测试方式:
1. 创建若干文章。
2. 返回到文章管理列表。
3. 打开任意文章的设置。
4. 检查发布时间是否回显,然后保存。
5. 保存之后检查发布时间是否还存在。
#### Does this PR introduce a user-facing change?
```release-note
修复 Console 端保存文章设置导致发布时间丢失的问题。
```1 parent 5602315 commit bc3337b
File tree
2 files changed
+2
-2
lines changed- src/modules/contents
- pages/components
- posts/components
2 files changed
+2
-2
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
280 | | - | |
| 280 | + | |
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
282 | | - | |
| 282 | + | |
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
| |||
0 commit comments