Commit e18dde3d authored by 黄奎's avatar 黄奎

自动登录车系统调整

parent c39fd819
...@@ -4130,9 +4130,13 @@ ...@@ -4130,9 +4130,13 @@
window.open(url) window.open(url)
}, },
goUrlCAR() { goUrlCAR() {
let userinfo = this.getLocalStorage(); var that = this;
let url = this.domainManager().CarUrl + "/auth/autologin?tk=" + userinfo.token; this.apipost("travel_temp_token", {}, res => {
window.open(url) if (res.data.resultCode == 1) {
let url = that.domainManager().CarUrl + "/auth/autologin?tk=" + res.data.data;
window.open(url)
}
})
}, },
//跳转至个人信息设置 //跳转至个人信息设置
goUrlPersonal() { goUrlPersonal() {
......
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