Commit d2f8430f authored by 赵啸非's avatar 赵啸非

修改设备管理 外部登录

parent a2b952c8
...@@ -9,7 +9,7 @@ export default { ...@@ -9,7 +9,7 @@ export default {
name: 'authentication', name: 'authentication',
created () { created () {
sessionStorage.setItem("token",this.getUrlKey("token")); sessionStorage.setItem("token",this.getUrlKey("token"));
// console.log("location url "+location.href) console.log("location url "+location.href)
console.log("token:"+this.getUrlKey("token")) console.log("token:"+this.getUrlKey("token"))
var url=window.location.href; //获取当前页面的url var url=window.location.href; //获取当前页面的url
if(url.indexOf("?")!=-1){ //判断是否存在参数 if(url.indexOf("?")!=-1){ //判断是否存在参数
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment