From ad866f0ec176f796f93fd4b19bbc158594082f99 Mon Sep 17 00:00:00 2001 From: Rogee Date: Tue, 6 May 2025 16:11:23 +0800 Subject: [PATCH] feat: update --- frontend/admin/src/pages/PostCreatePage.vue | 8 ++++---- frontend/admin/src/pages/PostEditPage.vue | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/frontend/admin/src/pages/PostCreatePage.vue b/frontend/admin/src/pages/PostCreatePage.vue index 481badd..956b47c 100644 --- a/frontend/admin/src/pages/PostCreatePage.vue +++ b/frontend/admin/src/pages/PostCreatePage.vue @@ -195,10 +195,10 @@ const savePost = async () => { valid = false; } - if (!post.introduction.trim()) { - errors.introduction = '请填写文章介绍'; - valid = false; - } + // if (!post.introduction.trim()) { + // errors.introduction = '请填写文章介绍'; + // valid = false; + // } if (post.selectedMedia.length === 0) { errors.selectedMedia = '请选择至少一个媒体文件'; diff --git a/frontend/admin/src/pages/PostEditPage.vue b/frontend/admin/src/pages/PostEditPage.vue index 665f629..839661c 100644 --- a/frontend/admin/src/pages/PostEditPage.vue +++ b/frontend/admin/src/pages/PostEditPage.vue @@ -235,10 +235,10 @@ const savePost = async () => { valid = false; } - if (!post.introduction.trim()) { - errors.introduction = '请填写文章介绍'; - valid = false; - } + // if (!post.introduction.trim()) { + // errors.introduction = '请填写文章介绍'; + // valid = false; + // } if (post.selectedMedia.length === 0) { errors.selectedMedia = '请选择至少一个媒体文件';