|
@@ -19,6 +19,7 @@ export default {
|
|
|
return {
|
|
|
title: "",
|
|
|
id: null,
|
|
|
+ activeIndex: "",
|
|
|
};
|
|
|
},
|
|
|
//生命周期 - 挂载完成(可以访问DOM元素)
|
|
@@ -29,10 +30,14 @@ export default {
|
|
|
init() {
|
|
|
this.title = this.$route.query.title;
|
|
|
this.id = this.$route.query.extracurricularExercisesId;
|
|
|
+ this.activeIndex = this.$route.query.activeIndex;
|
|
|
},
|
|
|
goBack() {
|
|
|
this.$store.dispatch("delVisitedViews", this.$route);
|
|
|
- this.$router.push({ path: "/afterSchoolManager" });
|
|
|
+ this.$router.push({
|
|
|
+ path: "/afterSchoolManager",
|
|
|
+ query: { tabrouter: this.activeIndex },
|
|
|
+ });
|
|
|
},
|
|
|
},
|
|
|
};
|