fix(菜单管理): 菜单管理

优化
This commit is contained in:
猿小天
2023-03-20 09:33:16 +08:00
parent 54fa8cf01c
commit 03f4ff9e17
3 changed files with 162 additions and 3 deletions

View File

@@ -81,6 +81,7 @@ export const createCrudOptions = function ({ crudExpose, menuButtonRef }: { crud
},
},
rowHandle: {
fixed: "right",
width: 310,
buttons: {
custom: {
@@ -103,7 +104,7 @@ export const createCrudOptions = function ({ crudExpose, menuButtonRef }: { crud
menuButtonRef.value.initGet();
},
},
},
}
},
columns: {
_index: {
@@ -244,7 +245,7 @@ export const createCrudOptions = function ({ crudExpose, menuButtonRef }: { crud
is_catalog: {
title: '是否目录',
column: {
width: 60,
width: 100,
},
type: 'dict-switch',
dict: dict({
@@ -443,7 +444,7 @@ export const createCrudOptions = function ({ crudExpose, menuButtonRef }: { crud
visible: {
title: '侧边可见',
column: {
width: 60,
width: 100,
},
search: {
show: true,

View File

@@ -31,6 +31,9 @@ export const createCrudOptions = function ({crudExpose,rolePermission}: {crudExp
delRequest,
},
rowHandle: {
//固定右侧
fixed: "right",
width:310,
buttons: {
custom: {
text: "权限配置",