diff --git a/src/packages/components/Decorates/Mores/FlipperNumber/index.vue b/src/packages/components/Decorates/Mores/FlipperNumber/index.vue index 9e5c0ca2..0c4ae010 100644 --- a/src/packages/components/Decorates/Mores/FlipperNumber/index.vue +++ b/src/packages/components/Decorates/Mores/FlipperNumber/index.vue @@ -63,7 +63,7 @@ watch( () => props.chartConfig.option, newVal => { try { - updateDatasetHandler((newVal as OptionType).dataset) + updateDatasetHandler((newVal as any as OptionType).dataset) } catch (error) { console.log(error) } diff --git a/tsconfig.json b/tsconfig.json index 1c7ef341..07a4c65b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -11,7 +11,7 @@ "esModuleInterop": true, "skipLibCheck": true, "lib": ["es6", "ESNext", "dom"], - "types": ["vite/client", "naive-ui/volar"], + "types": ["vite/client"], "paths": { "@/*": ["src/*"], "/#/*": ["types/*"]