Browse Source

Merge pull request #737 from flipped-aurora/gva-vue3

修复预览自动化代码全选和复制的bug
main
奇淼(piexlmax 3 years ago
committed by GitHub
parent
commit
dfba1f21fe
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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