1
0
mirror of https://github.com/zclzone/vue-naive-admin.git synced 2026-01-22 23:50:22 +08:00

fix: onSave -> onOk

This commit is contained in:
zclzone
2023-12-15 23:40:08 +08:00
parent bc68917afe
commit 944de898aa
2 changed files with 11 additions and 37 deletions

View File

@@ -223,7 +223,7 @@ const columns = [
size: 'small',
type: 'primary',
style: 'margin-left: 12px;',
onClick: () => handleOpen({ action: 'reset', title: '重置密码', row, onSave }),
onClick: () => handleOpen({ action: 'reset', title: '重置密码', row, onOk: onSave }),
},
{
default: () => '重置密码',
@@ -267,7 +267,7 @@ function handleOpenRolesSet(row) {
action: 'setRole',
title: '分配角色',
row: { id: row.id, username: row.username, roleIds },
onSave,
onOk: onSave,
})
}