优化上传禁用展示效果

This commit is contained in:
icssoa 2023-05-23 14:21:42 +08:00
parent f66d2e8764
commit 0f3a88b70c

View File

@ -269,7 +269,9 @@ const accept = computed(() => {
// //
const isAdd = 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;
}); });
// //