|
|
@ -40,7 +40,7 @@ export default { |
|
|
|
return { |
|
|
|
return { |
|
|
|
systemId: this.$store.state.systemId ? this.$store.state.systemId : this.$config.systemId, |
|
|
|
systemId: this.$store.state.systemId ? this.$store.state.systemId : this.$config.systemId, |
|
|
|
systemList: this.$config.systemList, |
|
|
|
systemList: this.$config.systemList, |
|
|
|
activeName: 'first', |
|
|
|
activeName: this.$store.state.activeName ? this.$store.state.activeName : 'first', |
|
|
|
userId: this.$store.state.userId, |
|
|
|
userId: this.$store.state.userId, |
|
|
|
tabs: { |
|
|
|
tabs: { |
|
|
|
first: '练习', |
|
|
|
first: '练习', |
|
|
@ -65,6 +65,7 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
tabChange(index){ |
|
|
|
tabChange(index){ |
|
|
|
this.activeName = index |
|
|
|
this.activeName = index |
|
|
|
|
|
|
|
this.$store.commit("activeNameData", { activeName : this.activeName}) |
|
|
|
}, |
|
|
|
}, |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|