| | |
| | | <template> |
| | | <div class v-loading="vLoading" :style="`width: ${currentWidth}px;height:${currentHeight}px`"> |
| | | <div class="web-site"> |
| | | <a href="http://www.aiotlink.com" target="_blank">www.aiotlink.com</a> |
| | | <a href="http://www.smartai.com" target="_blank">www.smartai.com</a> |
| | | </div> |
| | | <licence /> |
| | | <div class="right-bg" style> |
| | |
| | | </el-form-item> |
| | | </el-form> |
| | | </div> |
| | | <p class="gradient-text gradient-text-one">——— {{serverTitle || '智 能 计 算 节 点 — ReID'}} ———</p> |
| | | <p class="gradient-text gradient-text-one">——— {{serverTitle || 'SmartAI — ReID'}} ———</p> |
| | | </div> |
| | | </div> |
| | | </template> |
| | |
| | | async getServerName() { |
| | | let res = await getServerName() |
| | | if (res && res.success) { |
| | | console.log(res.data.serverName) |
| | | this.serverTitle = res.data.serverName |
| | | window.document.title = res.data.serverName |
| | | ? res.data.serverName |
| | | : '智 能 计 算 节 点' |
| | | : 'SmartAI' |
| | | sessionStorage.setItem('title', res.data.serverName) |
| | | } |
| | | }, |
| | |
| | | this.getServerName() |
| | | this.getScreenHeight() |
| | | }, |
| | | mounted(){ |
| | | console.log(this.serverTitle) |
| | | }, |
| | | watch: {}, |
| | | beforeDestroy() { |
| | | window.onresize = null |