mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2024-11-01 14:10:27 +08:00
优化上传禁用展示效果
This commit is contained in:
parent
f66d2e8764
commit
0f3a88b70c
@ -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;
|
||||
});
|
||||
|
||||
// 获取类型
|
||||
|
Loading…
Reference in New Issue
Block a user