From cf8961800f45f82477ed99649588011f3bfa4997 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E8=88=AA?= Date: Fri, 6 Mar 2026 17:40:58 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/comment-input/comment-input.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/comment-input/comment-input.vue b/src/components/comment-input/comment-input.vue index d5f11677..8835d833 100644 --- a/src/components/comment-input/comment-input.vue +++ b/src/components/comment-input/comment-input.vue @@ -222,7 +222,7 @@ // 方法 const uploadNow = (limit = 4) => { - if(!isImg.value){ + if(!isImg.value || fileList.value === 0){ upload(limit) }else{ common.show('','是否清空当前表情并重新添加?').then((res) => {