From 6c76b34d1bbc40b4abe713b16d9294c882ec8e02 Mon Sep 17 00:00:00 2001 From: v6ole Date: Sun, 12 Jul 2026 20:32:31 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=BB=E5=8A=A8=E7=AB=AF=E5=88=B7?= =?UTF-8?q?=E6=96=B0=E9=A1=B5=E9=9D=A2=E5=90=8E=E4=B8=BB=E9=A2=98=E5=9B=9E?= =?UTF-8?q?=E9=80=80=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在 index.html 添加内联 script,Vue 启动前从 localStorage 读取主题 并设置 data-theme 属性,消除 Pinia store 初始化时序导致的闪烁 Co-Authored-By: Claude --- frontend/index.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/frontend/index.html b/frontend/index.html index d4fac6b..e642704 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -6,6 +6,14 @@ 企迹 - 政企周报管理系统 + + +