Browse Source

主色调统一

main
piexlmax 3 years ago
parent
commit
e7e84b8544
  1. 4
      web/src/store/module/user.js

4
web/src/store/module/user.js

@ -12,7 +12,7 @@ export const user = {
headerImg: '', headerImg: '',
authority: {}, authority: {},
sideMode: 'dark', sideMode: 'dark',
activeColor: '#0d84ff',
activeColor: '#4D70FF',
baseColor: '#fff' baseColor: '#fff'
}, },
token: '', token: '',
@ -123,7 +123,7 @@ export const user = {
}, },
activeColor(state) { activeColor(state) {
if (state.userInfo.sideMode === 'dark' || state.userInfo.sideMode === 'light') { if (state.userInfo.sideMode === 'dark' || state.userInfo.sideMode === 'light') {
return '#0d84ff'
return '#4D70FF'
} }
return state.userInfo.activeColor return state.userInfo.activeColor
} }

Loading…
Cancel
Save