|
@@ -36,6 +36,7 @@ export default {
|
|
|
activeMenu: '',
|
|
|
jobs: [],
|
|
|
list: [],
|
|
|
+ title: '',
|
|
|
is_router: false,
|
|
|
}),
|
|
|
created() {
|
|
@@ -89,6 +90,7 @@ export default {
|
|
|
if (this_menu.children.length > 0) {
|
|
|
this_menu = this_menu.children;
|
|
|
}
|
|
|
+ console.log(this_menu);
|
|
|
this.$set(this, `list`, this_menu);
|
|
|
}
|
|
|
}
|
|
@@ -106,6 +108,11 @@ export default {
|
|
|
else this.$set(this, `jobs`, jobMenu);
|
|
|
},
|
|
|
},
|
|
|
+ metaInfo() {
|
|
|
+ let path = this.$route.path;
|
|
|
+ let obj = this.list.find(f => f.path == path);
|
|
|
+ return { title: obj.title || '就业指导' };
|
|
|
+ },
|
|
|
};
|
|
|
</script>
|
|
|
|