fix: update code theme selector

This commit is contained in:
yanglbme 2020-07-28 20:42:05 +08:00
parent 246818c878
commit d42f98bcf1

View File

@ -125,6 +125,7 @@ export default {
currentFont: state=> state.currentFont, currentFont: state=> state.currentFont,
currentSize: state=> state.currentSize, currentSize: state=> state.currentSize,
currentColor: state=> state.currentColor, currentColor: state=> state.currentColor,
codeTheme: state=> state.codeTheme,
nightMode: state=> state.nightMode nightMode: state=> state.nightMode
}) })
}, },
@ -262,6 +263,7 @@ export default {
this.selectFont = this.currentFont; this.selectFont = this.currentFont;
this.selectSize = this.currentSize; this.selectSize = this.currentSize;
this.selectColor = this.currentColor; this.selectColor = this.currentColor;
this.selectCodeTheme = this.codeTheme;
} }
} }
</script> </script>