diff --git a/src/components/Pages/ChartItemSetting/StylesSetting.vue b/src/components/Pages/ChartItemSetting/StylesSetting.vue index a226847c991387650b91be572b7d3101b42f9be7..9378161dc573b4d54cc3aa36c01e7c1cc12e7808 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 25c7ce8d37e9c6491420a5ccbd041194bf0ba073..5ee6c17413c859c2606aaad43f84a5ed1bc4570b 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