perf: optimize dashboard loading and production assets
Release / release (push) Canceled after 0s

This commit is contained in:
Qiufeng
2026-08-19 15:34:11 +08:00
parent 12d78b4c86
commit 83f1bf82d6
17 changed files with 355 additions and 48 deletions
+3
View File
@@ -36,6 +36,9 @@ describe('pAGE-24 dashboard contracts', () => {
expect(pageSource).toContain('dashboard.geography.available');
expect(pageSource).toContain('补齐项目省、市编码后,将自动启用地图');
expect(pageSource).toContain('当前身份没有查看仪表盘或相关业务数据的权限');
expect(pageSource).toContain('onActivated(activateDashboard)');
expect(pageSource).toContain('onDeactivated(deactivateDashboard)');
expect(pageSource).toContain('dashboardAbortController?.abort()');
expect(pageSource).toContain('setInterval(() => void loadDashboard(true), 60000)');
expect(pageSource).not.toMatch(/<button\b|<input\b|<select\b/);
});