guhongwei преди 2 години
родител
ревизия
d3d6d5bc6a
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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'));