mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2024-11-01 14:10:27 +08:00
解决 cl-upload show-file-list 异常显示问题
This commit is contained in:
parent
25ec0b9cad
commit
c861c59f29
@ -250,7 +250,7 @@ const list = ref<Upload.Item[]>([]);
|
||||
// 显示上传列表
|
||||
const showList = computed(() => {
|
||||
if (props.type == "file") {
|
||||
return !isEmpty(list.value);
|
||||
return props.showFileList ? !isEmpty(list.value) : false;
|
||||
} else {
|
||||
return true;
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ export default (): ModuleConfig => {
|
||||
description: "基于 el-upload 封装的文件上传组件",
|
||||
author: "COOL",
|
||||
version: "1.1.3",
|
||||
updateTime: "2024-02-23",
|
||||
updateTime: "2024-03-13",
|
||||
demo: [
|
||||
{
|
||||
name: "基础用法",
|
||||
|
Loading…
Reference in New Issue
Block a user