diff --git a/src/modules/upload/components/upload.vue b/src/modules/upload/components/upload.vue index 1361d43..64f93c2 100644 --- a/src/modules/upload/components/upload.vue +++ b/src/modules/upload/components/upload.vue @@ -269,7 +269,9 @@ const accept = computed(() => { // 能否添加 const isAdd = computed(() => { - return props.multiple ? limit - list.value.length > 0 : list.value.length == 0; + return props.multiple + ? !disabled.value && limit - list.value.length > 0 + : list.value.length == 0; }); // 获取类型