diff --git a/core/core-frontend/src/views/chart/components/editor/index.vue b/core/core-frontend/src/views/chart/components/editor/index.vue index 6c8d9f76b0..d8da9aa414 100644 --- a/core/core-frontend/src/views/chart/components/editor/index.vue +++ b/core/core-frontend/src/views/chart/components/editor/index.vue @@ -1777,7 +1777,8 @@ watch( val => { if (!val || !!previewHeight.value) return calcEle() - } + }, + { immediate: true } ) watch(