update DialogForm v-model

This commit is contained in:
lb 2023-10-30 10:51:41 +08:00
parent c2e987aee4
commit a71fb90e6a
8 changed files with 8 additions and 8 deletions

View File

@ -38,7 +38,7 @@
@close="cancel"
@cancel="cancel"
@confirm="submitForm">
<DialogForm v-if="open" ref="form" :dataForm="form" :rows="rows" />
<DialogForm v-if="open" ref="form" v-model="form" :rows="rows" />
</base-dialog>
<!-- 抽屉 详情 -->

View File

@ -36,7 +36,7 @@
v-if="showForm"
ref="form"
:disabled="mode.includes('detail')"
:dataForm="form"
v-model="form"
:rows="formRows" />
</div>

View File

@ -38,7 +38,7 @@
@close="cancel"
@cancel="cancel"
@confirm="submitForm">
<DialogForm v-if="open" ref="form" :dataForm="form" :rows="rows" />
<DialogForm v-if="open" ref="form" v-model="form" :rows="rows" />
</base-dialog>
</div>
</template>

View File

@ -36,7 +36,7 @@
v-if="showForm"
ref="form"
:disabled="mode.includes('detail')"
:dataForm="form"
v-model="form"
:rows="formRows" />
</div>

View File

@ -38,7 +38,7 @@
@close="cancel"
@cancel="cancel"
@confirm="submitForm">
<DialogForm v-if="open" ref="form" :dataForm="form" :rows="rows" />
<DialogForm v-if="open" ref="form" v-model="form" :rows="rows" />
</base-dialog>
<!-- 抽屉 详情 -->

View File

@ -38,7 +38,7 @@
@close="cancel"
@cancel="cancel"
@confirm="submitForm">
<DialogForm v-if="open" ref="form" :dataForm="form" :rows="rows" />
<DialogForm v-if="open" ref="form" v-model="form" :rows="rows" />
</base-dialog>
</div>
</template>

View File

@ -42,7 +42,7 @@
<DialogForm
v-if="open"
ref="form"
:dataForm="form"
v-model="form"
:rows="[
[
{

View File

@ -40,7 +40,7 @@
<DialogForm
v-if="open"
ref="form"
:dataForm="form"
v-model="form"
:rows="[
[
{