| | |
| | | |
| | | this.webPort = this.sysinfo.server_port; |
| | | |
| | | this.sysinfo.webVersion = config.version; |
| | | this.sysinfo.webVersion = 'V' + config.version; |
| | | } |
| | | |
| | | this.loading = false; |
| | |
| | | if (this.sysinfo.ip !== this.originNetConfig.ip) { |
| | | let newUri = location.protocol + "//" + this.sysinfo.ip + ":" + this.sysinfo.server_port; |
| | | var changeIPTimer = setTimeout(() => { |
| | | this.$alert('<strong>您已修改了服务器ip, 请重新登录</strong><a href="' + newUri + '"> ' + newUri + '<a/>', '提示', { |
| | | this.$alert('<strong>您已修改了服务器ip, 请重新登录</strong><a target="_parent" href="' + newUri + '"> ' + newUri + '<a/>', '提示', { |
| | | dangerouslyUseHTMLString: true |
| | | }); |
| | | }, 10000) |
| | |
| | | if (this.sysinfo.server_port !== this.webPort) { |
| | | let newUri = location.protocol + "//" + this.sysinfo.ip + ":" + this.sysinfo.server_port; |
| | | var changeIPTimer = setTimeout(() => { |
| | | this.$alert('<strong>您已修改了服务器端口, 请重新登录</strong><a href="' + newUri + '"> ' + newUri + '<a/>', '提示', { |
| | | this.$alert('<strong>您已修改了服务器端口, 请重新登录</strong><a target="_parent" href="' + newUri + '"> ' + newUri + '<a/>', '提示', { |
| | | dangerouslyUseHTMLString: true |
| | | }); |
| | | }, 5000) |