Commit 73a75e18 authored by youjie's avatar youjie

car 车行登录

parent dbff1ce4
...@@ -138,10 +138,14 @@ ...@@ -138,10 +138,14 @@
} }
}, },
mounted() { mounted() {
let href = this.domainManager().CarUrl if(this.getLocalStorage() == null){
window.parent.postMessage({ let href = this.domainManager().CarUrl
event_id: 'app', window.parent.postMessage({
data: {}}, `${href}`) event_id: 'out',
data: {
loginState: '退出登录',
}}, `${href}`)
}
if ( if (
!this.getLocalStorage() && !this.getLocalStorage() &&
document.URL.indexOf("SupplierLogin") == -1 && document.URL.indexOf("SupplierLogin") == -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