| | |
| | | } |
| | | }, |
| | | mounted() { |
| | | let token = this.getSessionStore('accessToken') |
| | | this.token = `https://111.63.178.115:9093?token=${token}`; |
| | | let token = encodeURIComponent(this.getSessionStore('accessToken')) |
| | | console.log(token,'token===pc端的token') |
| | | let encodedParam = window.btoa(token) |
| | | this.token = `https://111.63.178.115:9093?token=${encodedParam}`; //正式 |
| | | // 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}`; |
| | | // console.log(encodedParam,'encodedParam----加密---') |
| | | // this.token = `http://127.0.0.1:8848/dp/index.html?token=${encodedParam}`; //本地 |
| | | //alert(this.toCode('管理员')) |
| | | //this.token = 'http://localhost:8080?token='+this.toCode('管理员'); |
| | | // this.token = 'http://localhost:8080?token='+this.toCode('管理员'); |
| | | //this.token = 'http://localhost:8080?token=$vj$xCShfaQRUQlF8lqL1lwWi2auOrkLfkoecRuDWiJXlTnSg1mh6BODfjieo3ncsosjiocew'; |
| | | // this.init(); |
| | | // // 通知 |