diff --git a/src/components/comment-input/comment-input.vue b/src/components/comment-input/comment-input.vue index 8835d833..556c00b8 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 || fileList.value === 0){ + if(isImg.value || fileList.value === 0){ upload(limit) }else{ common.show('','是否清空当前表情并重新添加?').then((res) => {