From b398715e29f2a06bd03b836200325a07ee3a8228 Mon Sep 17 00:00:00 2001 From: liyang <1711467488@qq.com> Date: Tue, 5 Jun 2018 14:43:43 +0800 Subject: [PATCH] no message Former-commit-id: b8c6861f84476ee5df8b5b9abb87849f09bd70e4 Former-commit-id: 85422de5652d28d8a0b9718a20ad1df650bf1f30 Former-commit-id: 5f21294546776f11108d54fa80370a7c1272e98a --- src/store/modules/theme.js | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/store/modules/theme.js diff --git a/src/store/modules/theme.js b/src/store/modules/theme.js new file mode 100644 index 00000000..7da93b18 --- /dev/null +++ b/src/store/modules/theme.js @@ -0,0 +1,11 @@ +export default { + state: { + themeName: 'star' + }, + mutations: { + // 设置主题 + setTheme (state, themeName) { + state.themeName = themeName + } + } +}