Go to file
Ryan Wang a7341df0b5
fix: saving an post causes the publish time to be lost (#807)
#### 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/3080

#### Special notes for your reviewer:

测试方式:

1. 创建若干文章。
2. 返回到文章管理列表。
3. 打开任意文章的设置。
4. 检查发布时间是否回显,然后保存。
5. 保存之后检查发布时间是否还存在。

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

```release-note
修复 Console 端保存文章设置导致发布时间丢失的问题。
```
2022-12-29 13:10:33 +00:00
.changeset
.github
.husky
.vscode
cypress
docs feat: add editor extension point (#781) 2022-12-22 04:14:29 +00:00
packages chore: release 2.1.0-rc.1 (#802) 2022-12-26 15:50:31 +00:00
public feat: add support for setting console's favicon (#788) 2022-12-22 07:58:31 +00:00
src fix: saving an post causes the publish time to be lost (#807) 2022-12-29 13:10:33 +00:00
.dockerignore
.editorconfig
.env.development
.env.production
.eslintrc.cjs
.gitignore
.gitpod.yml
.npmignore
.npmrc
.prettierignore
Dockerfile
LICENSE
Makefile
OWNERS
README.md docs: update github workflow badge (#775) 2022-12-16 02:54:11 +00:00
cypress.json
env.d.ts
index.html feat: add support for setting console's favicon (#788) 2022-12-22 07:58:31 +00:00
package.json fix: logged-in users cannot access the profile page (#796) 2022-12-29 13:04:32 +00:00
pnpm-lock.yaml fix: logged-in users cannot access the profile page (#796) 2022-12-29 13:04:32 +00:00
pnpm-workspace.yaml
postcss.config.js
prettier.config.js chore: add tailwindcss prettier plugin and reformat code 2022-05-29 23:55:06 +08:00
tailwind.config.js
tsconfig.app.json
tsconfig.json
tsconfig.vite-config.json
tsconfig.vitest.json
vite.config.ts
vitest.config.ts

README.md

README

Halo logo

Halo 2.0 的管理端项目(原 halo-admin

GitHub release GitHub GitHub last commit GitHub Workflow Status Gitpod ready-to-code


当前仓库已经将 halo-admin 改为了 console。但对于 Halo 1.x 版本,依旧保持 halo-admin 的概念。

开发环境运行

# pnpm@7.0.0+
npm install -g pnpm
pnpm install 
pnpm build:packages
pnpm dev

生产构建

pnpm build

状态

Repobeats analytics