feat: 开发收藏和下载功能

This commit is contained in:
R524809
2026-05-06 18:32:15 +08:00
parent 9bdf850f20
commit c0b1bfddb0
17 changed files with 1262 additions and 127 deletions
+6
View File
@@ -1,4 +1,5 @@
import { defaultPrintConfig } from './config/config';
import { getUser } from './utils/auth';
import { generateUUID, getAppUUID, setAppUUID } from './utils/uuid';
const STORAGE_KEY_PAGE_CONFIG = 'pageConfig';
@@ -39,6 +40,11 @@ App<IAppOption>({
this.globalData.printConfig = printConfig;
}
// 静默登录(不阻塞页面渲染)
getUser().catch((err) => {
console.error('静默登录失败', err);
});
void this.loadPageConfig();
},