From f07d90add2aee02cb749b7f1095dc2d534c296db Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Mon, 7 Mar 2022 16:26:43 +0800 Subject: [PATCH] feat: support new categories in post settings (#489) Signed-off-by: Ryan Wang --- .../Category/CategoryCreateModal.vue | 152 ++++++++++++++++++ src/components/Post/PostSettingModal.vue | 17 +- 2 files changed, 166 insertions(+), 3 deletions(-) create mode 100644 src/components/Category/CategoryCreateModal.vue diff --git a/src/components/Category/CategoryCreateModal.vue b/src/components/Category/CategoryCreateModal.vue new file mode 100644 index 00000000..37fbe943 --- /dev/null +++ b/src/components/Category/CategoryCreateModal.vue @@ -0,0 +1,152 @@ + + diff --git a/src/components/Post/PostSettingModal.vue b/src/components/Post/PostSettingModal.vue index bdf7b84f..e3d376d9 100644 --- a/src/components/Post/PostSettingModal.vue +++ b/src/components/Post/PostSettingModal.vue @@ -35,7 +35,10 @@ - + + + 新增 + @@ -161,6 +164,7 @@ :visible.sync="attachmentSelectVisible" @confirm="handleSelectPostThumbnail" /> +