no message

Former-commit-id: 4f21a388154fc84178f2fe9f6432e9847e66d42f [formerly 4f21a388154fc84178f2fe9f6432e9847e66d42f [formerly 4f21a388154fc84178f2fe9f6432e9847e66d42f [formerly 4f21a388154fc84178f2fe9f6432e9847e66d42f [formerly 47bdfac098d82d0fc4978fd2e38c3968ef11270a [formerly 5d9df173748d78de9441de504121db3dad88f2f8]]]]]
Former-commit-id: a1a847c02413cf4d73e8463f488bdc37322789e5
Former-commit-id: 0fb80330d9bf8df9f7e6152812ba263321c2f1f5
Former-commit-id: d2d92295eb22e67fe4067832f6f5fe3a96968600 [formerly a274e3f2a84aa6c50c1cafbafeafaf129451f483]
Former-commit-id: 8e267950cca8fe90337bc67baa98d70770f71c80
Former-commit-id: db5eede445820e7d0544e0b314e0762cc8c8802c
Former-commit-id: 635a5e0353aba826cc5a026f7c9fce8e549da6bb
Former-commit-id: d67729d583afb714d1869e3b64b5449c37644c14
Former-commit-id: e3e483cc87698393b487a0644b8da9d2ca5225f1
This commit is contained in:
liyang
2018-06-29 16:30:21 +08:00
parent ea08e96078
commit 161103b915
5 changed files with 13 additions and 3 deletions

View File

@@ -1 +1 @@
2e6ccfa1782d7025eddfb44cbf547879838b5328
d4f0036326f9ce90761ba90c5820b23597a17acf

View File

@@ -0,0 +1,5 @@
<template>
<d2-container>
index
</d2-container>
</template>

View File

@@ -0,0 +1,5 @@
<template>
<d2-container>
theme
</d2-container>
</template>

View File

@@ -1 +1 @@
15dd11698b562040218e9cdcdb8ca1c36b59bae3
c9378013fa752f66b111cdb42adbeeb434473df0

View File

@@ -31,7 +31,7 @@ export default {
*/
d2adminThemeSet (state, themeActiveValue) {
// 从列表里找到需要激活的主题的数据
const theme = state.themeList.find(e => e.value === themeActiveValue)
const theme = state.themeList.find(e => e.value === themeActiveValue) || state.themeList[0]
// 设置 state
state.themeActive = theme
// 设置 dom