diff --git a/src/assets/scripts/config.js b/src/assets/scripts/config.js
index 264e4d3..414f95d 100644
--- a/src/assets/scripts/config.js
+++ b/src/assets/scripts/config.js
@@ -37,29 +37,29 @@ export default {
colorOption: [{
label: '经典蓝',
value: 'rgba(15, 76, 129, 1)',
- hex: '最新流行'
+ desc: '最新流行'
},
{
label: '翡翠绿',
value: 'rgba(0, 152, 116, 1)',
- hex: '优雅清新'
+ desc: '优雅清新'
},
{
label: '活力橘',
value: 'rgba(250, 81, 81, 1)',
- hex: '热情活泼'
+ desc: '热情活泼'
}
],
codeThemeOption: [
{
label: '微信',
value: 'wechat',
- hex: '默认样式'
+ desc: '默认样式'
},
{
- label: 'github',
+ label: 'GitHub',
value: 'github',
- hex: '精简风格'
+ desc: '精简风格'
}
],
form: {
diff --git a/src/components/CodemirrorEditor/header.vue b/src/components/CodemirrorEditor/header.vue
index f04d757..e6a7187 100644
--- a/src/components/CodemirrorEditor/header.vue
+++ b/src/components/CodemirrorEditor/header.vue
@@ -43,17 +43,17 @@
{{ color.label }}
- {{ color.hex }}
+ {{ color.desc }}
-
+
{{ theme.label }}
- {{ theme.hex }}
+ {{ theme.desc }}