fix(AccountList): use $refs
This commit is contained in:
parent
774afbec06
commit
9dabe11cd0
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue