YY 3 gadi atpakaļ
vecāks
revīzija
07c63f4b39

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

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

+ 1 - 0
src/components/frame/e-dialog.vue

@@ -51,5 +51,6 @@ export default {
 /deep/.el-dialog__body {
 /deep/.el-dialog__body {
   padding: 10px;
   padding: 10px;
   min-height: 330px;
   min-height: 330px;
+  overflow-y: auto;
 }
 }
 </style>
 </style>