diff --git a/src/assets/style/theme/list.js b/src/assets/style/theme/list.js index 2dfcabc6..55173bdd 100644 --- a/src/assets/style/theme/list.js +++ b/src/assets/style/theme/list.js @@ -1,29 +1,29 @@ export default [ { - name: 'd2admin 经典', - value: 'd2', + title: 'd2admin 经典', + name: 'd2', preview: 'static/image/theme/d2/preview@2x.png' }, { - name: '紫罗兰', - value: 'violet', + title: '紫罗兰', + name: 'violet', preview: 'static/image/theme/violet/preview@2x.png' }, { - name: '简约线条', - value: 'line', + title: '简约线条', + name: 'line', backgroundImage: 'static/image/bg/line-squashed.jpg', preview: 'static/image/theme/line/preview@2x.png' }, { - name: '流星', - value: 'star', + title: '流星', + name: 'star', backgroundImage: 'static/image/bg/star-squashed.jpg', preview: 'static/image/theme/star/preview@2x.png' }, { - name: 'Tomorrow Night Blue (vsCode)', - value: 'tomorrow-night-blue', + title: 'Tomorrow Night Blue (vsCode)', + name: 'tomorrow-night-blue', preview: 'static/image/theme/tomorrow-night-blue/preview@2x.png' } ] diff --git a/src/components/core/d2-layout-main/index.vue b/src/components/core/d2-layout-main/index.vue index 3a7015de..5be2c48e 100644 --- a/src/components/core/d2-layout-main/index.vue +++ b/src/components/core/d2-layout-main/index.vue @@ -10,8 +10,8 @@
- - + +
@@ -54,7 +54,7 @@