From 1d1efb69e975d4987d488d36f592a43a426a0fb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E5=AE=87=E5=BA=86?= Date: Mon, 9 Dec 2024 00:51:33 +0000 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E5=8F=91=E6=9C=8D=E5=8A=A1=E5=99=A8?= =?UTF-8?q?=E7=AB=AF=E5=8F=A3=E5=A4=96=E7=BD=AE=EF=BC=8C=E8=A7=A3=E5=86=B3?= =?UTF-8?q?=E7=BC=96=E8=AF=91=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 杨宇庆 --- src/components/Pages/ChartItemSetting/StylesSetting.vue | 2 +- vite.config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- Gitee