Skip to content

Commit

Permalink
fix: required checked bug
Browse files Browse the repository at this point in the history
  • Loading branch information
suyuan32 committed Jul 14, 2023
1 parent 4fcdc40 commit 3f9b072
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/sys/role/RoleDrawer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
const roleId = await validate();
const checkedData = await getApiAuthority({ id: Number(roleId['id']) });
if (checkedData.data.data === null) {
checkedApiKeys.value = [];
checkedApiKeys.value = convertApiToCheckedKeys([], apiData.data.data);
} else {
checkedApiKeys.value = convertApiToCheckedKeys(
checkedData.data.data,
Expand Down

0 comments on commit 3f9b072

Please sign in to comment.