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