diff --git a/src/components/Pages/ChartItemSetting/StylesSetting.vue b/src/components/Pages/ChartItemSetting/StylesSetting.vue index a226847c..9378161d 100644 --- a/src/components/Pages/ChartItemSetting/StylesSetting.vue +++ b/src/components/Pages/ChartItemSetting/StylesSetting.vue @@ -182,7 +182,7 @@ const props = defineProps({ default: false }, chartStyles: { - type: Object as PropType, 'animations' | 'animationsOpen' | 'animationsCirculate' | 'animationsCurve' | 'animationsDirection' | 'circulatePlayTime' | 'circulateDelayTime'>>, + type: Object, required: true } }) diff --git a/vite.config.ts b/vite.config.ts index 25c7ce8d..5ee6c174 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -47,7 +47,7 @@ export default ({ mode }) => defineConfig({ server: { host: true, open: true, - port: 3000, + port: Number(loadEnv(mode, process.cwd()).VITE_DEV_PORT), proxy: { [axiosPre]: { // @ts-ignore