no message
Former-commit-id: 8e98a0b4b2edb656220d9af244c018c7378eee8e Former-commit-id: 2b5a9bbde5dcc2789167635fb047ac5456d2905c Former-commit-id: 5a85965e717c200bfde3d06551413035018579d7
This commit is contained in:
@@ -6,6 +6,7 @@ export default {
|
||||
// 设置主题
|
||||
setTheme (state, themeName) {
|
||||
state.themeName = themeName
|
||||
document.body.className = `theme-${state.themeName}`
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user