修复前端无法编译的问题

This commit is contained in:
2026-03-27 13:04:02 +08:00
parent 1b8fadc0c9
commit d4a8f59fd8
7 changed files with 13 additions and 131 deletions
-1
View File
@@ -26,7 +26,6 @@ function handleToggle(event: MouseEvent) {
Math.max(y, innerHeight - y)
)
// @ts-expect-error: TypeScript 类型可能较旧,忽略 startViewTransition 报错
const transition = document.startViewTransition(() => {
themeStore.toggleTheme()
})