From 7170a6214b717a81df37cf73cca2159d13f5f666 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Wed, 10 Dec 2025 13:44:19 +0800 Subject: [PATCH] :bug: Fix magic spell page didn't update --- app/components.d.ts | 2 + app/pages/spells/[...word].vue | 187 +++++++++++++++++++++------------ 2 files changed, 124 insertions(+), 65 deletions(-) diff --git a/app/components.d.ts b/app/components.d.ts index 925bf71..8fd9ec3 100644 --- a/app/components.d.ts +++ b/app/components.d.ts @@ -35,6 +35,7 @@ declare module 'vue' { NEmpty: typeof import('naive-ui')['NEmpty'] NForm: typeof import('naive-ui')['NForm'] NFormItem: typeof import('naive-ui')['NFormItem'] + NGlobalStyle: typeof import('naive-ui')['NGlobalStyle'] NIcon: typeof import('naive-ui')['NIcon'] NImage: typeof import('naive-ui')['NImage'] NImagePreview: typeof import('naive-ui')['NImagePreview'] @@ -93,6 +94,7 @@ declare global { const NEmpty: typeof import('naive-ui')['NEmpty'] const NForm: typeof import('naive-ui')['NForm'] const NFormItem: typeof import('naive-ui')['NFormItem'] + const NGlobalStyle: typeof import('naive-ui')['NGlobalStyle'] const NIcon: typeof import('naive-ui')['NIcon'] const NImage: typeof import('naive-ui')['NImage'] const NImagePreview: typeof import('naive-ui')['NImagePreview'] diff --git a/app/pages/spells/[...word].vue b/app/pages/spells/[...word].vue index b3a8407..c1868d3 100644 --- a/app/pages/spells/[...word].vue +++ b/app/pages/spells/[...word].vue @@ -1,73 +1,21 @@ - - + +