mirror of
https://gitee.com/myxzgzs/boyue-ui-admin-vue3
synced 2025-08-08 08:22:41 +08:00
【功能修复】system:菜单管理列表,虚拟 table 的告警问题
This commit is contained in:
parent
410e257a47
commit
5f5ae354d2
@ -162,6 +162,7 @@ const columns: Column[] = [
|
||||
cellRenderer: ({ rowData }) => {
|
||||
return h(
|
||||
'div',
|
||||
{},
|
||||
[
|
||||
hasPermission(['system:menu:update']) &&
|
||||
h(
|
||||
@ -171,7 +172,7 @@ const columns: Column[] = [
|
||||
type: 'primary',
|
||||
onClick: () => openForm('update', rowData.id)
|
||||
},
|
||||
'修改'
|
||||
() => '修改'
|
||||
),
|
||||
hasPermission(['system:menu:create']) &&
|
||||
h(
|
||||
@ -181,7 +182,7 @@ const columns: Column[] = [
|
||||
type: 'primary',
|
||||
onClick: () => openForm('create', undefined, rowData.id)
|
||||
},
|
||||
'新增'
|
||||
() => '新增'
|
||||
),
|
||||
hasPermission(['system:menu:delete']) &&
|
||||
h(
|
||||
@ -191,7 +192,7 @@ const columns: Column[] = [
|
||||
type: 'danger',
|
||||
onClick: () => handleDelete(rowData.id)
|
||||
},
|
||||
'删除'
|
||||
() => '删除'
|
||||
)
|
||||
].filter(Boolean)
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user