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> <template #body>
<VnTable <VnTable
ref="tableRef"
:data-key="dataKey" :data-key="dataKey"
:columns="columns" :columns="columns"
:create="{ :create="{
urlCreate: 'VnUsers', urlCreate: 'VnUsers',
title: t('Create user'), title: t('Create user'),
onDataSaved: ({ id }) => tableRef.redirect(id), onDataSaved: ({ id }) => $refs.tableRef.redirect(id),
formInitialData: {}, formInitialData: {},
}" }"
default-mode="table" default-mode="table"