diff --git a/magic-boot-ui/src/views/system/role/role-assign-permissions.vue b/magic-boot-ui/src/views/system/role/role-assign-permissions.vue index 705238a..2adf0bc 100644 --- a/magic-boot-ui/src/views/system/role/role-assign-permissions.vue +++ b/magic-boot-ui/src/views/system/role/role-assign-permissions.vue @@ -1,44 +1,43 @@ - diff --git a/magic-boot-ui/src/views/system/role/role-list.vue b/magic-boot-ui/src/views/system/role/role-list.vue index c8a7180..e88c407 100644 --- a/magic-boot-ui/src/views/system/role/role-list.vue +++ b/magic-boot-ui/src/views/system/role/role-list.vue @@ -57,7 +57,7 @@ @@ -83,6 +83,7 @@ const permissionData = reactive([{ label: '本级', value: '3' }]) +const assignPermissions = ref() const assignPermissionsDialog = ref() const table = ref() const roleFormDialog = ref() @@ -150,7 +151,7 @@ const tableOptions = reactive({ type: 'text', icon: 'ElPlus', click: (row) => { - temp.id = row.id + temp.value.id = row.id assignPermissionsDialog.value.show() } },