Commit 51ae0366 by Lyan

精彩视频面包屑鞥个

parent f48827a6
......@@ -104,7 +104,7 @@
</div>
</template>
<script>
import { mapState } from "vuex";
import breadcrumb from "../comps/breadcrumb.vue";
import list from "./comps/list.vue";
import list2 from "./comps/list2.vue";
......@@ -116,9 +116,7 @@ export default {
list2,
},
computed: {
...mapState({
matche: (state) => state.matche,
}),
},
data() {
return {
......@@ -181,11 +179,11 @@ export default {
this.videoStr = data.wavname;
// this.source = data.source;
this.editor = data.editor;
this.breadcrumb = this.breadcrumb.concat(this.matche);
this.breadcrumb.push({
name: this.title,
});
this.$store.commit("system/SET_BREADCRUMB", this.breadcrumb);
this.$store.commit("system/SET_BREADCRUMB", [
{ name: "资讯中心", path: "/News/index" },
{ name: "精彩视频", path: "/News/Video" },
{ name: this.title },
]);
this.xgljList(data.keyword);
}
},
......
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