forked from verdnatura/salix-front
fix: onDataSaved VnTable
Habia un problema al usar this en entorno no local
This commit is contained in:
parent
45c0d0ae3f
commit
8356be1ec0
|
@ -300,7 +300,7 @@ defineExpose({
|
|||
});
|
||||
|
||||
function handleOnDataSaved(_, res) {
|
||||
if (_.onDataSaved) _.onDataSaved(this);
|
||||
if (_.onDataSaved) _.onDataSaved({ CrudModelRef: CrudModelRef.value });
|
||||
else $props.create.onDataSaved(_);
|
||||
}
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue