guhongwei 4 years ago
parent
commit
edaf061980
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/layout/layout-part/menus.vue

+ 2 - 2
src/layout/layout-part/menus.vue

@@ -62,10 +62,10 @@ export default {
   methods: {
     search() {
       if (this.user.role == '1') {
-        this.menu.push(index, user, role, room, stat, test);
+        this.menu.push(index, user, role, room, stat);
         return;
       } else {
-        this.menu.push(index, user, role, live, room, stat, test);
+        this.menu.push(index, live, stat);
         return;
       }
     },