Commit 7602b87c authored by 吴冠's avatar 吴冠

跳转后台

parent a655b16c
......@@ -208,9 +208,16 @@ import Cookies from "js-cookie"
},
pushH(){
let token=Cookies.get("token")
/* 判断为供应商还是供应商 */
let type = Cookies.get("isSupplier")
if(token){
if(type=="1"){
window.location.href=`http://60.205.251.80:8082/#/purchaser/Home?token=${token}`
}
if(type=="2"){
window.location.href=`http://60.205.251.80:8082/#/supply/Home?token=${token}`
}
}
}
},
data() {
......
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