forked from JointCloud/JCC-RIP
换肤路由跳转
This commit is contained in:
parent
0bc24a4afd
commit
29fe222275
|
@ -109,11 +109,13 @@ export default {
|
|||
changeLight() {
|
||||
document.documentElement.setAttribute('jcceTheme', 'jcceLight')
|
||||
localStorage.setItem('jcceTheme', 'jcceLight')
|
||||
this.$router.push({ path: '/monitorSelect' })
|
||||
location.reload()
|
||||
},
|
||||
changeDark() {
|
||||
document.documentElement.setAttribute('jcceTheme', 'jcceDark')
|
||||
localStorage.setItem('jcceTheme', 'jcceDark')
|
||||
this.$router.push({ path: '/monitorSelect' })
|
||||
location.reload()
|
||||
},
|
||||
toMoniter() {
|
||||
|
|
Loading…
Reference in New Issue