Commit 8342d401 by 冒粤蓉

fix breacrumb

1 parent 7a3d5122
...@@ -88,7 +88,9 @@ export default { ...@@ -88,7 +88,9 @@ export default {
name: title, name: title,
path: basePath + path path: basePath + path
}) })
this.$root.parentVuex.dispatch('menu/setBreadCrumb', [...curBreadCrumb, breadcrumb[0]]); history.state.pushState = pushState;
history.state.breadcrumb = [...curBreadCrumb, breadcrumb[0]];
// this.$root.parentVuex.dispatch('menu/setBreadCrumb', [...curBreadCrumb, breadcrumb]);
} }
} }
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!