修改工单: 右键 给角色分配权限
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 4m45s

This commit is contained in:
sexygoat
2026-02-26 10:06:11 +08:00
parent dccad819cf
commit 3570b062a1
7 changed files with 302 additions and 80 deletions

View File

@@ -28,6 +28,7 @@
fontWeight: '500'
}"
@row-click="handleRowClick"
@row-contextmenu="handleRowContextmenu"
@selection-change="handleSelectionChange"
>
<!-- 序号列 -->
@@ -174,6 +175,7 @@
'update:currentPage',
'update:pageSize',
'row-click',
'row-contextmenu',
'size-change',
'current-change',
'selection-change'
@@ -274,6 +276,11 @@
emit('row-click', row, column, event)
}
// 行右键事件
const handleRowContextmenu = (row: any, column: any, event: any) => {
emit('row-contextmenu', row, column, event)
}
// 选择变化事件
const handleSelectionChange = (selection: any) => {
emit('selection-change', selection)