From d5144e7cb7ccf2795e02098b850e282eb2a6e74f Mon Sep 17 00:00:00 2001
From: hanbaoshan <hanbaoshan@aiotlink.com>
Date: 星期三, 14 十月 2020 10:27:07 +0800
Subject: [PATCH] 集群节点展示测试

---
 src/pages/index/App.vue |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/src/pages/index/App.vue b/src/pages/index/App.vue
index bb2b52f..a3b5f16 100644
--- a/src/pages/index/App.vue
+++ b/src/pages/index/App.vue
@@ -1,7 +1,7 @@
 <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>
@@ -45,7 +45,7 @@
           </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>
@@ -140,7 +140,7 @@
         })
         // await this.getMenuList()
         // this.$router.push('/Layout/Video')
-        location.assign("/view/desktop")
+        location.assign("/view/desktop/")
         return json
       } else {
         this.$notify({
@@ -166,10 +166,11 @@
     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)
       }
     },
@@ -178,6 +179,9 @@
     this.getServerName()
     this.getScreenHeight()
   },
+  mounted(){
+    console.log(this.serverTitle)
+  },
   watch: {},
   beforeDestroy() {
     window.onresize = null

--
Gitblit v1.8.0