From d42f98bcf12d738c82da0063e077c7e5ae87e7b7 Mon Sep 17 00:00:00 2001 From: yanglbme Date: Tue, 28 Jul 2020 20:42:05 +0800 Subject: [PATCH] fix: update code theme selector --- src/components/CodemirrorEditor/header.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/CodemirrorEditor/header.vue b/src/components/CodemirrorEditor/header.vue index 6d6e947..fd979f2 100644 --- a/src/components/CodemirrorEditor/header.vue +++ b/src/components/CodemirrorEditor/header.vue @@ -125,6 +125,7 @@ export default { currentFont: state=> state.currentFont, currentSize: state=> state.currentSize, currentColor: state=> state.currentColor, + codeTheme: state=> state.codeTheme, nightMode: state=> state.nightMode }) }, @@ -262,6 +263,7 @@ export default { this.selectFont = this.currentFont; this.selectSize = this.currentSize; this.selectColor = this.currentColor; + this.selectCodeTheme = this.codeTheme; } }