mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-25 07:09:20 +08:00
refactor: 统一文件存储与上传流程,解耦 OSS 客户端、存储类型与前端上传模式
This commit is contained in:
@@ -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();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user