This repository has been archived by the owner on Jan 21, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: add validation for post and singlePage settings form (#791)
#### What type of PR is this? /kind improvement #### What this PR does / why we need it: 重构文章和自定义页面的设置表单,支持提交时验证表单。 > 因为之前的多选项卡设计导致无法同时验证所有表单,所以这个 PR 重构了表单的布局。 #### Which issue(s) this PR fixes: Fixes halo-dev/halo#2859 #### Screenshots: ![2022-12-21 17 23 22](https://user-images.githubusercontent.com/21301288/208870059-5039a565-def2-4622-9a78-de30dceb4d65.gif) #### Special notes for your reviewer: 测试方式: 1. 测试在内容编辑页面和列表打开文章和自定义页面的设置表单。 2. 检查表单验证是否有效。 #### Does this PR introduce a user-facing change? ```release-note 重构 Console 端文章和自定义页面的设置表单布局,支持提交时验证表单。 ```
- Loading branch information
f7ece91
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
ui – ./
ui-git-main-halo-dev.vercel.app
halo-admin-ui.vercel.app
ui-halo-dev.vercel.app