guhongwei hace 2 años
padre
commit
d3d6d5bc6a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/components/admin-frame/Sidebar.vue

+ 1 - 1
src/components/admin-frame/Sidebar.vue

@@ -88,7 +88,7 @@ export default {
     async getMenu() {
       let list = _.cloneDeep(this.items);
       // if (!_.get(this.user, 'id')) return;
-      let type = '4';
+      let type = '0';
       let menus = menu.filter(i => i.type == type);
       if (menus) list.push(...menus, ...basic);
       this.$set(this, `items`, _.uniqBy(list, 'index'));