Commit 73a75e18 authored by youjie's avatar youjie

car 车行登录

parent dbff1ce4
...@@ -138,10 +138,14 @@ ...@@ -138,10 +138,14 @@
} }
}, },
mounted() { mounted() {
if(this.getLocalStorage() == null){
let href = this.domainManager().CarUrl let href = this.domainManager().CarUrl
window.parent.postMessage({ window.parent.postMessage({
event_id: 'app', event_id: 'out',
data: {}}, `${href}`) 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