halo-admin/src
Ryan Wang 7f9de2ffd3
fix: cannot save post when the publishTime is blank (#763)
#### What type of PR is this?

/kind bug

#### What this PR does / why we need it:

修复当文章设置中的发布时间为空字符串时,无法保存的问题。

#### Which issue(s) this PR fixes:

Fixes https://github.com/halo-dev/halo/issues/2906

#### Special notes for your reviewer:

测试方式:

1. 进入新建文章页面。
2. 点击右上角发布按钮,填写必要的标题和别名,然后点击保存。
3. 点击右上角设置按钮,切换到高级设置,再次点击保存。
4. 观察是否正常保存。

#### Does this PR introduce a user-facing change?

```release-note
修复 Console 端文章设置中的发布时间为空字符串时,无法保存的问题。
```
2022-12-12 06:36:22 +00:00
..
assets fix: logo cannot be displayed after the build (#668) 2022-10-26 07:36:10 +00:00
build refactor: set the root path of the development environment to /console (#638) 2022-10-11 15:32:14 +00:00
components perf: add autofocus to login username input (#742) 2022-12-01 07:13:55 +00:00
composables feat: api client requests support configuring the mute parameter to hide exception toast (#744) 2022-12-05 09:40:12 +00:00
constants feat: refining the logic of user roles (#749) 2022-12-07 04:40:53 +00:00
formkit perf: formkit post input type only queries the available (#724) 2022-11-28 11:24:21 +00:00
layouts feat: support for opening login modal after login session expiration (#715) 2022-11-28 14:30:19 +00:00
modules fix: cannot save post when the publishTime is blank (#763) 2022-12-12 06:36:22 +00:00
router refactor: managing logged-in user states with pinia (#699) 2022-11-23 08:39:29 +00:00
setup refactor: add loading states for data list (#703) 2022-11-24 03:46:10 +00:00
stores fix: ui is not updated after the theme is activated in the production (#746) 2022-12-07 02:50:53 +00:00
styles refactor: add loading states for data list (#703) 2022-11-24 03:46:10 +00:00
utils feat: api client requests support configuring the mute parameter to hide exception toast (#744) 2022-12-05 09:40:12 +00:00
views perf: refine setup data and logic of post publish (#739) 2022-11-30 17:13:50 +00:00
App.vue refactor: router and menu generation (#651) 2022-10-19 08:54:13 +00:00
main.ts refactor: plugin extension points of console plugin (#738) 2022-11-30 17:15:50 +00:00