fix: 部门修改 openDialog 方法参数顺序错误修复

Former-commit-id: 617ce262c9efb85d635eeb7328adc778df15ae58
This commit is contained in:
haoxr
2023-03-15 22:36:18 +08:00
parent 0111868b2b
commit 4013c8d064

View File

@@ -257,14 +257,14 @@ onMounted(() => {
type="primary"
link
size="small"
@click.stop="openDialog(scope.row.id, scope.row.parentId)"
@click.stop="openDialog(scope.row.parentId, scope.row.id)"
><i-ep-edit />编辑
</el-button>
<el-button
type="primary"
link
size="small"
@click.stop="openDialog(scope.row.id, scope.row.parentId)"
@click.stop="handleDelete(scope.row.id)"
>
<i-ep-delete />删除
</el-button>