mirror of
https://github.com/tiny-craft/tiny-rdm.git
synced 2025-10-20 21:59:27 +08:00
fix: edit state does not revert when switching keys
fix: some digits are incorrectly recognized as base64-encoded text
This commit is contained in:
@@ -131,6 +131,11 @@ const valueColumn = reactive({
|
||||
}
|
||||
},
|
||||
})
|
||||
|
||||
const cancelEdit = () => {
|
||||
currentEditRow.value.no = 0
|
||||
}
|
||||
|
||||
const actionColumn = {
|
||||
key: 'action',
|
||||
title: i18n.t('interface.action'),
|
||||
@@ -185,9 +190,7 @@ const actionColumn = {
|
||||
currentEditRow.value.no = 0
|
||||
}
|
||||
},
|
||||
onCancel: () => {
|
||||
currentEditRow.value.no = 0
|
||||
},
|
||||
onCancel: cancelEdit,
|
||||
})
|
||||
},
|
||||
}
|
||||
@@ -265,6 +268,7 @@ const onUpdateFilter = (filters, sourceColumn) => {
|
||||
defineExpose({
|
||||
reset: () => {
|
||||
clearFilter()
|
||||
cancelEdit()
|
||||
},
|
||||
})
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user