feat:修改文件上传,白板关闭不影响其他用户等

This commit is contained in:
leilei
2025-11-10 17:55:52 +08:00
parent df359d01cc
commit 6fbe53009c
23 changed files with 17128 additions and 1623 deletions

View File

@@ -77,8 +77,7 @@ const props = defineProps({
});
emitter.on('fileUploadStatus',async ()=>{
if(drawerVisible.value){
console.log('更新啦')
if(drawerVisible.value){
await getFileList()
}
})
@@ -161,7 +160,7 @@ async function getFileList(){
}
fileList.value = res.data.files || [];
} catch (error) {
console.error('获取文件列表失败:', error);
// console.error('获取文件列表失败:', error);
ElMessage.error('获取文件列表失败');
} finally {
loading.value = false;