mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2025-12-14 14:52:49 +00: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(() => {
|
const showList = computed(() => {
|
||||||
if (props.type == "file") {
|
if (props.type == "file") {
|
||||||
return !isEmpty(list.value);
|
return props.showFileList ? !isEmpty(list.value) : false;
|
||||||
} else {
|
} else {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,7 +6,7 @@ export default (): ModuleConfig => {
|
|||||||
description: "基于 el-upload 封装的文件上传组件",
|
description: "基于 el-upload 封装的文件上传组件",
|
||||||
author: "COOL",
|
author: "COOL",
|
||||||
version: "1.1.3",
|
version: "1.1.3",
|
||||||
updateTime: "2024-02-23",
|
updateTime: "2024-03-13",
|
||||||
demo: [
|
demo: [
|
||||||
{
|
{
|
||||||
name: "基础用法",
|
name: "基础用法",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user