|
@@ -2,7 +2,7 @@
|
|
<template>
|
|
<template>
|
|
<div class="form mb-4 last:mb-0" :style="options.style">
|
|
<div class="form mb-4 last:mb-0" :style="options.style">
|
|
<div class="mb-4">
|
|
<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>
|
|
</div>
|
|
<v-button :disable="success" :options="buttonOptions" @click="submit"></v-button>
|
|
<v-button :disable="success" :options="buttonOptions" @click="submit"></v-button>
|
|
</div>
|
|
</div>
|
|
@@ -95,7 +95,7 @@ export default {
|
|
border: 1px solid rgba(255, 255, 255, 0.55);
|
|
border: 1px solid rgba(255, 255, 255, 0.55);
|
|
border-radius: 0.5rem;
|
|
border-radius: 0.5rem;
|
|
/deep/ .form-label {
|
|
/deep/ .form-label {
|
|
- width: 5rem;
|
|
|
|
|
|
+ width: 5.5rem;
|
|
padding: 0.5rem 0;
|
|
padding: 0.5rem 0;
|
|
font-size: 1rem;
|
|
font-size: 1rem;
|
|
line-height: 1;
|
|
line-height: 1;
|