+
+ {{ t('chart.text_pos_right') }}
+
+
@@ -173,6 +285,7 @@ const emits = defineEmits(['onTextChange'])
const styleMounted = ref({
opacity: 1,
fontSize: 22,
+ activeFontSize: 22,
fontWeight: 'normal',
fontStyle: 'normal',
textAlign: 'center',
@@ -237,8 +350,8 @@ const checkItalic = () => {
changeStyle()
}
-function setPosition(p: 'left' | 'center' | 'right') {
- styleForm.value.textAlign = p
+function setPosition(key, p: 'left' | 'center' | 'right') {
+ styleForm.value[key] = p
changeStyle()
}
From b9b10f79f66185867b07f9a0297bd4515f604ea0 Mon Sep 17 00:00:00 2001
From: wangjiahao <1522128093@qq.com>
Date: Tue, 26 Mar 2024 10:21:02 +0800
Subject: [PATCH 2/2] =?UTF-8?q?style(=E4=BB=AA=E8=A1=A8=E6=9D=BF):=20?=
=?UTF-8?q?=E7=BC=96=E8=BE=91=E5=8C=BA=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/custom-component/common/CommonStyleSet.vue | 10 +++++++++-
.../src/custom-component/de-time-clock/TimeDefault.vue | 5 ++++-
2 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/core/core-frontend/src/custom-component/common/CommonStyleSet.vue b/core/core-frontend/src/custom-component/common/CommonStyleSet.vue
index d11c8e59db..89460beb24 100644
--- a/core/core-frontend/src/custom-component/common/CommonStyleSet.vue
+++ b/core/core-frontend/src/custom-component/common/CommonStyleSet.vue
@@ -153,7 +153,7 @@