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 = '请选择至少一个媒体文件';