YY 3 年之前
父节点
当前提交
07c63f4b39
共有 2 个文件被更改,包括 2 次插入1 次删除
  1. 1 1
      src/components/admin-frame/Sidebar.vue
  2. 1 0
      src/components/frame/e-dialog.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 = '0';
+      let type = '4';
       let menus = menu.filter(i => i.type == type);
       if (menus) list.push(...menus, ...basic);
       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 {
   padding: 10px;
   min-height: 330px;
+  overflow-y: auto;
 }
 </style>