fix: 修复设置页面图片和title的问题

This commit is contained in:
Captain.B 2020-11-16 18:19:11 +08:00
parent f43a502096
commit 460d2377c5
2 changed files with 3 additions and 3 deletions

View File

@ -57,9 +57,9 @@ export default {
if (header.default !== undefined) { if (header.default !== undefined) {
this.licenseHeader = "LicenseMessage"; this.licenseHeader = "LicenseMessage";
} }
//
if (display.default !== undefined) { if (display.default !== undefined) {
display.default.valid(this); display.default.showHome(this);
} }
} else { } else {
window.location.href = "/login" window.location.href = "/login"

View File

@ -95,7 +95,7 @@ export default {
this.result = this.$get("/isLogin").then(response => { this.result = this.$get("/isLogin").then(response => {
if (display.default !== undefined) { if (display.default !== undefined) {
display.default.valid(this); display.default.showLogin(this);
} }
if (!response.data.success) { if (!response.data.success) {