@@ -50,13 +50,6 @@ import { mapState } from "vuex";
export default {
name: "home",
components: { PageLearn, PageAnswer, PageExam, PagePerson },
- props: {
- // 分组的数据列表
- propPcomponents: {
- type: String,
- default: "pageLearn"
- }
- },
data() {
return {
currentComponents: "pageLearn",
@@ -167,7 +167,9 @@ export default {
});
this.$router.push({ name: "answerRecruit" });
} else if (item.name === "今日必读") {
- this.$router.back(-1);
+ this.$router.push({
+ name: "home"
+ });
}