no message

Former-commit-id: 8e98a0b4b2edb656220d9af244c018c7378eee8e
Former-commit-id: 2b5a9bbde5dcc2789167635fb047ac5456d2905c
Former-commit-id: 5a85965e717c200bfde3d06551413035018579d7
This commit is contained in:
liyang
2018-06-11 13:29:06 +08:00
parent 9ce24ca952
commit 425bfaf14d
5 changed files with 83 additions and 50 deletions

View File

@@ -6,6 +6,7 @@ export default {
// 设置主题
setTheme (state, themeName) {
state.themeName = themeName
document.body.className = `theme-${state.themeName}`
}
}
}