backup: 紫色UI换肤前完整备份(当前橙色逍遥梦主题)

保留改造前全部页面样式与功能代码,便于回滚。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
XingQue
2026-06-29 01:59:42 +08:00
parent a751708d6e
commit c03d22776f
49 changed files with 6025 additions and 3784 deletions

View File

@@ -5,6 +5,7 @@ import {
getSessionToken,
isWechatLoginSuccess,
} from './role-tab-bar';
import { restoreStaffContextAfterAuth } from './staff-api.js';
const app = getApp();
@@ -14,6 +15,7 @@ export function ensureLogin(options = {}) {
const token = getSessionToken(app);
if (token) {
backfillUserProfileCache(app);
restoreStaffContextAfterAuth();
return Promise.resolve(true);
}