Merge remote-tracking branch 'origin/main'
# Conflicts: # tzipc-ui/src/views/zf/bigscreen/index.vue
This commit is contained in:
commit
d4483a22cd
Binary file not shown.
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 56 KiB |
@ -146,11 +146,12 @@ export default {
|
|||||||
created() {
|
created() {
|
||||||
this.getCode();
|
this.getCode();
|
||||||
this.getCookie();
|
this.getCookie();
|
||||||
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getTitleBg() {
|
getTitleBg() {
|
||||||
const theme = localStorage.getItem("data-theme") || 'redTheme'
|
const theme = localStorage.getItem("data-theme") || 'default'
|
||||||
|
window.document.documentElement.setAttribute('data-theme', theme)
|
||||||
|
window.document.documentElement.setAttribute('class', 'light')
|
||||||
if (theme === 'default') return '/theme/default/loginTitle.png'
|
if (theme === 'default') return '/theme/default/loginTitle.png'
|
||||||
if (theme === 'redTheme') return '/theme/redTheme/loginTitle.png'
|
if (theme === 'redTheme') return '/theme/redTheme/loginTitle.png'
|
||||||
return '/theme/default/loginTitle.png'
|
return '/theme/default/loginTitle.png'
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user