修复上传组件首次无法加载回显资源问题
This commit is contained in:
parent
6b6ad94650
commit
1baa04f459
|
@ -95,7 +95,7 @@ watch(() => props.modelValue, val => {
|
|||
fileList.value = [];
|
||||
return [];
|
||||
}
|
||||
});
|
||||
},{ deep: true, immediate: true });
|
||||
|
||||
// 上传前校检格式和大小
|
||||
function handleBeforeUpload(file) {
|
||||
|
|
|
@ -105,7 +105,7 @@ watch(() => props.modelValue, val => {
|
|||
fileList.value = [];
|
||||
return [];
|
||||
}
|
||||
});
|
||||
},{ deep: true, immediate: true });
|
||||
|
||||
// 删除图片
|
||||
function handleRemove(file, files) {
|
||||
|
|
Loading…
Reference in New Issue