浏览代码

修改页面

aaa 4 年之前
父节点
当前提交
e67bcc07e3
共有 2 个文件被更改,包括 3 次插入8 次删除
  1. 0 7
      src/views/home/index.vue
  2. 3 1
      src/views/home/person/user-manual.vue

+ 0 - 7
src/views/home/index.vue

@@ -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",

+ 3 - 1
src/views/home/person/user-manual.vue

@@ -167,7 +167,9 @@ export default {
         });
         this.$router.push({ name: "answerRecruit" });
       } else if (item.name === "今日必读") {
-        this.$router.back(-1);
+        this.$router.push({
+          name: "home"
+        });
       }
     }
   }