Commit 88304570 authored by youjie's avatar youjie

车系统修改单页面方式

parent b9048e4c
...@@ -140,6 +140,7 @@ ...@@ -140,6 +140,7 @@
}, },
mounted() { mounted() {
if(localStorage.typeSystem) this.typeSystem = localStorage.typeSystem if(localStorage.typeSystem) this.typeSystem = localStorage.typeSystem
let href = this.domainManager().CarUrl let href = this.domainManager().CarUrl
if(this.getLocalStorage() == null){ if(this.getLocalStorage() == null){
window.parent.postMessage({ window.parent.postMessage({
...@@ -172,7 +173,11 @@ ...@@ -172,7 +173,11 @@
document.URL.indexOf("TravelContractConfirm") != -1 || document.URL.indexOf("TravelContractConfirm") != -1 ||
document.URL.indexOf("ViittoContractConfirm") != -1 document.URL.indexOf("ViittoContractConfirm") != -1
) { ) {
localStorage.openMode = 0; // 车系统改变 单页面方式
if(this.typeSystem==1) {
localStorage.openMode = 1
window.location.reload()
}else localStorage.openMode = 0;
} else {} } else {}
this.timekeeper(); this.timekeeper();
this.listeneruser(); this.listeneruser();
......
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