This commit is contained in:
qsh
2024-06-19 17:43:16 +08:00
parent 37818cb1e6
commit 013a93e668
2 changed files with 4 additions and 4 deletions

View File

@@ -93,7 +93,7 @@ const loading = ref(false)
const userList = ref([])
function setRowClass({ row }) {
return row.field == currentRowId.value ? 'current-row' : ''
return row.id == currentRowId.value ? 'current-row' : ''
}
const currentRowId = ref('')
@@ -144,7 +144,7 @@ function resourceCheckedChange(val) {
}
function handleRowClick(row) {
currentRowId.value = row.ruleId
currentRowId.value = row.id
form.value = { ...row }
}