mirror of
https://gitee.com/ssssssss-team/magic-boot.git
synced 2026-04-26 00:00:04 +08:00
MT:新增树形菜单页面
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user