Skip to content

Commit

Permalink
feat: 在编辑文章页面添加封面字段
Browse files Browse the repository at this point in the history
  • Loading branch information
Redish101 committed Feb 7, 2025
1 parent d70de1d commit 3922411
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/dashboard/src/pages/article/edit/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,11 @@ const EditArticlePage = () => {
initialValue={articleMeta?.slug}
disabled
/>
<ProFormText
label="封面"
name="cover"
initialValue={articleMeta?.cover}
/>
<ProFormSwitch
label="草稿"
name="draft"
Expand Down

0 comments on commit 3922411

Please sign in to comment.