Browse Source
Merge pull request #737 from flipped-aurora/gva-vue3
修复预览自动化代码全选和复制的bug
main
奇淼(piexlmax
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
web/src/store/module/user.js
|
|
@ -12,7 +12,7 @@ export const user = { |
|
|
|
headerImg: '', |
|
|
|
authority: {}, |
|
|
|
sideMode: 'dark', |
|
|
|
activeColor: '#0d84ff', |
|
|
|
activeColor: '#4D70FF', |
|
|
|
baseColor: '#fff' |
|
|
|
}, |
|
|
|
token: '', |
|
|
@ -123,7 +123,7 @@ export const user = { |
|
|
|
}, |
|
|
|
activeColor(state) { |
|
|
|
if (state.userInfo.sideMode === 'dark' || state.userInfo.sideMode === 'light') { |
|
|
|
return '#0d84ff' |
|
|
|
return '#4D70FF' |
|
|
|
} |
|
|
|
return state.userInfo.activeColor |
|
|
|
} |
|
|
|