修复上传组件首次无法加载回显资源问题

This commit is contained in:
RuoYi 2022-04-08 14:21:42 +08:00
parent 6b6ad94650
commit 1baa04f459
2 changed files with 2 additions and 2 deletions

View File

@ -95,7 +95,7 @@ watch(() => props.modelValue, val => {
fileList.value = [];
return [];
}
});
},{ deep: true, immediate: true });
//
function handleBeforeUpload(file) {

View File

@ -105,7 +105,7 @@ watch(() => props.modelValue, val => {
fileList.value = [];
return [];
}
});
},{ deep: true, immediate: true });
//
function handleRemove(file, files) {