mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
chore: 优化文件上传判断是否刷新列表
This commit is contained in:
@ -40,7 +40,9 @@ const fileList = ref<UploadFileInfo[]>([]);
|
||||
const needRelaodData = defineModel<boolean>('needRelaodData', {
|
||||
default: false
|
||||
});
|
||||
|
||||
defineExpose({
|
||||
refreshList: needRelaodData
|
||||
});
|
||||
watch(
|
||||
() => fileList.value,
|
||||
newValue => {
|
||||
|
Reference in New Issue
Block a user