Commit eb731ad9 authored by youjie's avatar youjie

车行 登录

parent 73a75e18
...@@ -138,14 +138,17 @@ ...@@ -138,14 +138,17 @@
} }
}, },
mounted() { mounted() {
if(this.getLocalStorage() == null){
let href = this.domainManager().CarUrl let href = this.domainManager().CarUrl
if(this.getLocalStorage() == null){
window.parent.postMessage({ window.parent.postMessage({
event_id: 'out', event_id: 'out',
data: { data: {
loginState: '退出登录', loginState: '退出登录',
}}, `${href}`) }}, `${href}`)
} }
window.parent.postMessage({
event_id: 'app',
data: {}}, `${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