From c80eacc5e7dc1226f19b169e86786298411268eb Mon Sep 17 00:00:00 2001 From: wanglin2 <1013335014@qq.com> Date: Sat, 12 Aug 2023 14:42:14 +0800 Subject: [PATCH] =?UTF-8?q?Demo:=E4=BF=AE=E5=A4=8D=E5=9C=A8=E8=8A=82?= =?UTF-8?q?=E7=82=B9=E6=A0=B7=E5=BC=8F=E4=BE=A7=E8=BE=B9=E6=A0=8F=E9=87=8C?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E5=8E=BB=E9=99=A4=E8=8A=82=E7=82=B9=E7=9A=84?= =?UTF-8?q?=E6=96=87=E6=9C=AC=E4=BF=AE=E9=A5=B0=E7=BA=BF=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/lang/en_us.js | 1 + web/src/lang/zh_cn.js | 1 + web/src/pages/Edit/components/Style.vue | 3 +++ 3 files changed, 5 insertions(+) diff --git a/web/src/lang/en_us.js b/web/src/lang/en_us.js index 561ee635..d1071273 100644 --- a/web/src/lang/en_us.js +++ b/web/src/lang/en_us.js @@ -167,6 +167,7 @@ export default { italic: 'Italic', textDecoration: 'Text decoration', underline: 'Underline', + none: 'None', lineThrough: 'Line through', overline: 'Overline', border: 'Border', diff --git a/web/src/lang/zh_cn.js b/web/src/lang/zh_cn.js index 1808366f..ffe6a7fc 100644 --- a/web/src/lang/zh_cn.js +++ b/web/src/lang/zh_cn.js @@ -166,6 +166,7 @@ export default { addFontWeight: '加粗', italic: '斜体', textDecoration: '划线', + none: '无', underline: '下划线', lineThrough: '中划线', overline: '上划线', diff --git a/web/src/pages/Edit/components/Style.vue b/web/src/pages/Edit/components/Style.vue index a718300a..8aba9892 100644 --- a/web/src/pages/Edit/components/Style.vue +++ b/web/src/pages/Edit/components/Style.vue @@ -142,6 +142,9 @@ v-model="style.textDecoration" @change="update('textDecoration')" > + {{ + $t('style.none') + }} {{ $t('style.underline') }}