From 8356be1ec0567a8ef37121987ee503d1b8cdbfd0 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Fri, 27 Sep 2024 18:10:43 +0000 Subject: [PATCH] fix: onDataSaved VnTable Habia un problema al usar this en entorno no local --- src/components/VnTable/VnTable.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/VnTable/VnTable.vue b/src/components/VnTable/VnTable.vue index 2c9526ec0..693bb785b 100644 --- a/src/components/VnTable/VnTable.vue +++ b/src/components/VnTable/VnTable.vue @@ -300,7 +300,7 @@ defineExpose({ }); function handleOnDataSaved(_, res) { - if (_.onDataSaved) _.onDataSaved(this); + if (_.onDataSaved) _.onDataSaved({ CrudModelRef: CrudModelRef.value }); else $props.create.onDataSaved(_); }