no message
Former-commit-id: b8c6861f84476ee5df8b5b9abb87849f09bd70e4 Former-commit-id: 85422de5652d28d8a0b9718a20ad1df650bf1f30 Former-commit-id: 5f21294546776f11108d54fa80370a7c1272e98a
This commit is contained in:
11
src/store/modules/theme.js
Normal file
11
src/store/modules/theme.js
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
export default {
|
||||||
|
state: {
|
||||||
|
themeName: 'star'
|
||||||
|
},
|
||||||
|
mutations: {
|
||||||
|
// 设置主题
|
||||||
|
setTheme (state, themeName) {
|
||||||
|
state.themeName = themeName
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user