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

修复预览自动化代码全选和复制的bug
This commit is contained in:
奇淼(piexlmax
2021-09-24 17:34:30 +08:00
committed by GitHub

View File

@@ -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
} }