瀏覽代碼

feat: Home无用参数清理

zhangjie 9 月之前
父節點
當前提交
890a0ca5cf
共有 1 個文件被更改,包括 1 次插入2 次删除
  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;
     },