diff --git a/src/components/common/Studentcommon/registration.vue b/src/components/common/Studentcommon/registration.vue index cee8740..a9de5c0 100644 --- a/src/components/common/Studentcommon/registration.vue +++ b/src/components/common/Studentcommon/registration.vue @@ -40,7 +40,7 @@ export default { return { systemId: this.$store.state.systemId ? this.$store.state.systemId : this.$config.systemId, systemList: this.$config.systemList, - activeName: 'first', + activeName: this.$store.state.activeName ? this.$store.state.activeName : 'first', userId: this.$store.state.userId, tabs: { first: '练习', @@ -65,6 +65,7 @@ export default { }, tabChange(index){ this.activeName = index + this.$store.commit("activeNameData", { activeName : this.activeName}) }, } }; diff --git a/src/components/page/PersonalCenter.vue b/src/components/page/PersonalCenter.vue index 39cb4c2..7610873 100644 --- a/src/components/page/PersonalCenter.vue +++ b/src/components/page/PersonalCenter.vue @@ -123,7 +123,7 @@