From eacc33c598b6c4b91c5a86e51a8989cf38ec1e3f Mon Sep 17 00:00:00 2001 From: yanglbme Date: Wed, 2 Sep 2020 20:39:47 +0800 Subject: [PATCH] feat: update header and insertForm components --- src/components/CodemirrorEditor/header.vue | 9 ++++++--- src/components/CodemirrorEditor/insertForm.vue | 4 ++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/components/CodemirrorEditor/header.vue b/src/components/CodemirrorEditor/header.vue index ec3513e..db72bde 100644 --- a/src/components/CodemirrorEditor/header.vue +++ b/src/components/CodemirrorEditor/header.vue @@ -55,9 +55,9 @@ 复制 关于 - -
-
+ +
+
@@ -99,6 +99,9 @@ export default { effect() { return this.nightMode ? 'dark' : 'light' }, + btnContent() { + return this.nightMode ? '浅色模式' : '暗黑模式' + }, btnType() { return this.nightMode ? 'default' : 'primary'; }, diff --git a/src/components/CodemirrorEditor/insertForm.vue b/src/components/CodemirrorEditor/insertForm.vue index 601e66a..c55f101 100644 --- a/src/components/CodemirrorEditor/insertForm.vue +++ b/src/components/CodemirrorEditor/insertForm.vue @@ -8,7 +8,7 @@ > - 行: + 行数 - 列: + 列数