修复上传组件首次无法加载回显资源问题
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user