diff --git a/src/views/system/dept/index.vue b/src/views/system/dept/index.vue
index 85e4fcfe..508704a9 100644
--- a/src/views/system/dept/index.vue
+++ b/src/views/system/dept/index.vue
@@ -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)"
>编辑
删除