refactor: 统一文件存储与上传流程,解耦 OSS 客户端、存储类型与前端上传模式

This commit is contained in:
2026-08-25 00:00:19 +08:00
parent 78dbc865fd
commit 81358e6d7c
57 changed files with 776 additions and 672 deletions
@@ -65,8 +65,11 @@ const showDot = computed(() =>
notifications.value.some((item) => !item.isRead),
);
// 登录布局挂载:先建用户级 SSE,再拉导入任务
// 登录布局挂载:已登录才建 SSE 与导入任务(welcome 等 ignoreAccess 页未登录也会进此布局)
onMounted(() => {
if (!accessStore.accessToken) {
return;
}
realtimeStore.start();
importTaskStore.init();
});