|
@@ -2,7 +2,7 @@
|
|
|
<template>
|
|
|
<div class="form mb-4 last:mb-0" :style="options.style">
|
|
|
<div class="mb-4">
|
|
|
- <component :is="getComponent(item)" :key="index" :options="item" :value.sync="formData[item.field]" v-for="(item, index) in options.children"></component>
|
|
|
+ <component :is="getComponent(item)" :key="index" :options="item" :datas="formData" :value.sync="formData[item.field]" v-for="(item, index) in options.children"></component>
|
|
|
</div>
|
|
|
<v-button :disable="success" :options="buttonOptions" @click="submit"></v-button>
|
|
|
</div>
|
|
@@ -95,7 +95,7 @@ export default {
|
|
|
border: 1px solid rgba(255, 255, 255, 0.55);
|
|
|
border-radius: 0.5rem;
|
|
|
/deep/ .form-label {
|
|
|
- width: 5rem;
|
|
|
+ width: 5.5rem;
|
|
|
padding: 0.5rem 0;
|
|
|
font-size: 1rem;
|
|
|
line-height: 1;
|