Browse Source

feat: Home无用参数清理

zhangjie 9 tháng trước cách đây
mục cha
commit
890a0ca5cf
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 2
      src/views/Home.vue

+ 1 - 2
src/views/Home.vue

@@ -171,8 +171,7 @@ export default {
     },
   },
   computed: {
-    ...mapState("exam", ["waitTaskCount"]),
-    ...mapState("app", ["menus", "privilegeMap", "validRoutes", "privileges"]),
+    ...mapState("app", ["menus", "privileges"]),
     IS_HOME_PAGE() {
       return this.$route.name === HOME_PAGE_ROUTE;
     },