Commit 56758cd1 authored by 华国豪's avatar 华国豪 🙄

no message

parent 6308b388
...@@ -34,9 +34,12 @@ Vue.commonUtils = Vue.prototype.$commonUtils=commonUtils ...@@ -34,9 +34,12 @@ Vue.commonUtils = Vue.prototype.$commonUtils=commonUtils
Vue.languageUtils=Vue.prototype.$languageUtils=languageUtils Vue.languageUtils=Vue.prototype.$languageUtils=languageUtils
Vue.prototype.MsgBus = MsgBus Vue.prototype.MsgBus = MsgBus
Vue.prototype.$echarts = echarts Vue.prototype.$echarts = echarts
router.beforeEach((to, from, next) => { router.beforeEach((to, from, next) => {
// console.log("from",from.path) let msg = {
sessionStorage.setItem("FromPath",from.path); path: from.path,
query: from.query
}
sessionStorage.setItem("FromPath", JSON.stringify(msg));
if (to.meta.title) { if (to.meta.title) {
if(localStorage.g && localStorage.g!='undefined'){ if(localStorage.g && localStorage.g!='undefined'){
if(JSON.parse(localStorage.g).i!=2) if(JSON.parse(localStorage.g).i!=2)
......
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