From 4538452c438c88e730d8e69d817fa474546b1918 Mon Sep 17 00:00:00 2001 From: hezhaohui Date: Wed, 15 Jul 2026 17:36:44 +0800 Subject: [PATCH] =?UTF-8?q?fix(frontend):=20=E7=A7=BB=E9=99=A4=20useTheme?= =?UTF-8?q?=20=E4=B8=AD=E6=9C=AA=E4=BD=BF=E7=94=A8=E7=9A=84=20watch=20?= =?UTF-8?q?=E5=AF=BC=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除 useTheme.ts 中未使用的 'watch' 导入 - 修复 TypeScript 编译错误 --- frontend/src/composables/useTheme.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/composables/useTheme.ts b/frontend/src/composables/useTheme.ts index b74e5a9..6d0ce46 100644 --- a/frontend/src/composables/useTheme.ts +++ b/frontend/src/composables/useTheme.ts @@ -1,4 +1,4 @@ -import { ref, watch, onMounted } from 'vue' +import { ref, onMounted } from 'vue' export type Theme = 'light' | 'dark'