fix(AccountList): use $refs
gitea/salix-front/pipeline/pr-dev There was a failure building this commit Details
gitea/salix-front/pipeline/head This commit looks good Details

This commit is contained in:
Alex Moreno 2024-12-24 12:02:58 +01:00
parent 774afbec06
commit 9dabe11cd0
1 changed files with 2 additions and 1 deletions

View File

@ -152,12 +152,13 @@ function exprBuilder(param, value) {
>
<template #body>
<VnTable
ref="tableRef"
:data-key="dataKey"
:columns="columns"
:create="{
urlCreate: 'VnUsers',
title: t('Create user'),
onDataSaved: ({ id }) => tableRef.redirect(id),
onDataSaved: ({ id }) => $refs.tableRef.redirect(id),
formInitialData: {},
}"
default-mode="table"