0
0
Fork 0

fix: onDataSaved VnTable

Habia un problema al usar this en entorno no local
This commit is contained in:
Javier Segarra 2024-09-27 18:10:43 +00:00
parent 45c0d0ae3f
commit 8356be1ec0
1 changed files with 1 additions and 1 deletions

View File

@ -300,7 +300,7 @@ defineExpose({
});
function handleOnDataSaved(_, res) {
if (_.onDataSaved) _.onDataSaved(this);
if (_.onDataSaved) _.onDataSaved({ CrudModelRef: CrudModelRef.value });
else $props.create.onDataSaved(_);
}
</script>