will no longer run app.setTheme on init if no theme was selected
This commit is contained in:
parent
09b8960038
commit
72c672c480
1 changed files with 3 additions and 1 deletions
|
@ -586,7 +586,9 @@ const app = new Vue({
|
||||||
},
|
},
|
||||||
async init() {
|
async init() {
|
||||||
let self = this
|
let self = this
|
||||||
this.setTheme()
|
if(this.cfg.visual.theme != "default.less" || this.cfg.visual.theme != "") {
|
||||||
|
this.setTheme()
|
||||||
|
}
|
||||||
this.setLz(this.cfg.general.language)
|
this.setLz(this.cfg.general.language)
|
||||||
this.setLzManual()
|
this.setLzManual()
|
||||||
clearTimeout(this.hangtimer)
|
clearTimeout(this.hangtimer)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue