diff --git a/core/core-frontend/src/components/visualization/CanvasBaseSetting.vue b/core/core-frontend/src/components/visualization/CanvasBaseSetting.vue
index 3c4825f82e..4bb01d37f2 100644
--- a/core/core-frontend/src/components/visualization/CanvasBaseSetting.vue
+++ b/core/core-frontend/src/components/visualization/CanvasBaseSetting.vue
@@ -9,7 +9,7 @@
@change="onPopButtonChange"
>
- 显示弹窗区筛选按钮
+
显示弹窗区筛选按钮
预览时启用
diff --git a/core/core-frontend/src/custom-component/common/CommonStyleSet.vue b/core/core-frontend/src/custom-component/common/CommonStyleSet.vue
index 86d800adf1..5b90eae187 100644
--- a/core/core-frontend/src/custom-component/common/CommonStyleSet.vue
+++ b/core/core-frontend/src/custom-component/common/CommonStyleSet.vue
@@ -16,7 +16,9 @@
:effect="themes"
v-model="styleForm[styleOptionKey.value]"
size="small"
- @change="changeStyle"
+ @change="
+ changeStyle({ key: styleOptionKey.value, value: styleForm[styleOptionKey.value] })
+ "
>
@@ -56,7 +58,9 @@
:triggerWidth="styleColorKey.width"
is-custom
:predefine="state.predefineColors"
- @change="changeStyle"
+ @change="
+ changeStyle({ key: styleColorKey.value, value: styleForm[styleColorKey.value] })
+ "
>
@@ -486,7 +490,7 @@ const checkItalic = () => {
function setPosition(key, p: 'left' | 'center' | 'right') {
styleForm.value[key] = p
- changeStyle({ key: key, p })
+ changeStyle({ key: key, value: p })
}
watch(