refactor: return mode from slot
This commit is contained in:
parent
7400f9f611
commit
218a2f39d4
2 changed files with 9 additions and 5 deletions
|
|
@ -208,8 +208,9 @@ defineProps<{
|
|||
"
|
||||
@save="(group: any, file: any) => {}"
|
||||
>
|
||||
<template #form>
|
||||
<template #form="{ mode }">
|
||||
<FormCitizen
|
||||
v-if="mode === 'citizenId'"
|
||||
orc
|
||||
v-model:citizen-id="item.citizenId"
|
||||
v-model:birth-date="customer.birthDate"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue