From 4b8a88b31e4084c9a1f7a9c4999951a6ab3a9551 Mon Sep 17 00:00:00 2001 From: MT <532780857@qq.com> Date: Fri, 5 Nov 2021 13:44:21 +0800 Subject: [PATCH] =?UTF-8?q?MT=EF=BC=9A=E6=96=B0=E5=A2=9E=E6=A0=91=E5=BD=A2?= =?UTF-8?q?=E8=8F=9C=E5=8D=95=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 6 + .../src/views/system/menu/menu-list.vue | 9 +- .../src/views/system/menu/menu-tree-list.vue | 230 ++++++++++++++++++ 3 files changed, 240 insertions(+), 5 deletions(-) create mode 100644 magic-boot-ui/src/views/system/menu/menu-tree-list.vue diff --git a/README.md b/README.md index 601e961..f42b609 100644 --- a/README.md +++ b/README.md @@ -43,3 +43,9 @@ - (新增)数据源管理 - (新增)数据库管理 - (新增) + + +## 开发日志 + +### 2021-11-04 +> 升级magic-editor到1.6.3版本 diff --git a/magic-boot-ui/src/views/system/menu/menu-list.vue b/magic-boot-ui/src/views/system/menu/menu-list.vue index ce10c69..1e43efb 100644 --- a/magic-boot-ui/src/views/system/menu/menu-list.vue +++ b/magic-boot-ui/src/views/system/menu/menu-list.vue @@ -59,13 +59,11 @@ export default { { field: 'name', title: '菜单名称', - width: '400', align: 'left' }, { field: 'url', title: '路径', - width: '250', align: 'left' }, { @@ -94,26 +92,27 @@ export default { { title: '操作', type: 'btns', + width: 262, fixed: 'right', align: 'left', btns: [ { title: '添加下级菜单', - type: 'primary', + type: 'text', click: (row) => { this.addSubMenu(row.id) } }, { title: '编辑', - type: 'primary', + type: 'text', click: (row) => { this.handleUpdate(row) } }, { title: '删除', - type: 'danger', + type: 'text', click: (row) => { this.$common.handleDelete({ url: 'menu/delete', diff --git a/magic-boot-ui/src/views/system/menu/menu-tree-list.vue b/magic-boot-ui/src/views/system/menu/menu-tree-list.vue new file mode 100644 index 0000000..3c31adf --- /dev/null +++ b/magic-boot-ui/src/views/system/menu/menu-tree-list.vue @@ -0,0 +1,230 @@ + + + + +