From c1c0e7fd8095d577c43f036844db0cd1f232cef9 Mon Sep 17 00:00:00 2001
From: zhangxiaoxu123 <819527061@qq.com>
Date: 星期四, 04 五月 2023 11:30:45 +0800
Subject: [PATCH] 解决大屏携带token问题

---
 src/views/home/home.vue |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/views/home/home.vue b/src/views/home/home.vue
index 12dbdab..ff32ddf 100644
--- a/src/views/home/home.vue
+++ b/src/views/home/home.vue
@@ -566,7 +566,10 @@
     }
   },
   mounted() {
-    this.token = 'http://111.63.178.115:9093?token=$vj$xCShfaQRUQlF8lqL1lwWi2auOrkLfkoecRuDWiJXlTnSg1mh6BODfjieo3ncsosjiocew';
+    let token = this.getSessionStore('accessToken')
+    this.token = `http://111.63.178.115:9093?token=${token}`;
+    // this.token = `http://localhost:63343/dp/index.html?token=$vj$xCShfaQRUQlF8lqL1lwWi2auOrkLfkoecRuDWiJXlTnSg1mh6BODfjieo3ncsosjiocew?token1=${token}`;
+    //this.token = `http://127.0.0.1:8848/dp/index.html?token=${token}`;
     //alert(this.toCode('绠$悊鍛�'))
     //this.token = 'http://localhost:8080?token='+this.toCode('绠$悊鍛�');
     //this.token = 'http://localhost:8080?token=$vj$xCShfaQRUQlF8lqL1lwWi2auOrkLfkoecRuDWiJXlTnSg1mh6BODfjieo3ncsosjiocew';

--
Gitblit v1.9.1