--修复修改鉴权用户

This commit is contained in:
lai
2023-09-22 17:34:58 +08:00
parent f10bc91bed
commit c1541976ff
2 changed files with 3 additions and 3 deletions

View File

@@ -283,7 +283,7 @@ function fnModalOk() {
modalState.confirmLoading = true;
const from = toRaw(modalState.from);
const neID = queryParams.neId || '-';
const result = from.id ? updateAuth(from) : addAuth(neID, from);
const result = from.id ? updateAuth(from,neID) : addAuth(neID, from);
const hide = message.loading({ content: t('common.loading') });
result
.then(res => {