This commit is contained in:
2025-09-26 17:30:25 +08:00
parent bfbe6136bc
commit 4c1a3ad423

View File

@ -96,7 +96,6 @@ const fileList = ref([]);
watch(() => props.modelValue,(val) => { watch(() => props.modelValue,(val) => {
let arr = val ? (Array.isArray(val) ? val :[val]): []; let arr = val ? (Array.isArray(val) ? val :[val]): [];
console.log(val,'=========999'); console.log(val,'=========999');
if(arr.length == 0 ) return fileList.value = []; if(arr.length == 0 ) return fileList.value = [];
fileList.value = arr.map((el) => { fileList.value = arr.map((el) => {
if (Object.prototype.toString.call(el) === "[object Object]") { if (Object.prototype.toString.call(el) === "[object Object]") {