Commit 086a7a41 by 冒粤蓉

fix breacrumb

1 parent c1826656
......@@ -237,10 +237,12 @@ export default {
window.addEventListener("popstate", function(e) {
const { state } = e;
if(state) {
const { breadcrumb } = state;
if(breadcrumb) {
store.dispatch('menu/setBreadCrumb', breadcrumb);
}
setTimeout(()=>{
const { breadcrumb } = state;
if(breadcrumb) {
store.dispatch('menu/setBreadCrumb', breadcrumb);
}
},200)
}
}, false);
})
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!