form 表单 预览
This commit is contained in:
@ -73,13 +73,7 @@ const layouts = {
|
||||
key={config.renderKey}
|
||||
conf={currentItem}
|
||||
onInput={(event) => {
|
||||
// console.log(event);
|
||||
// // console.log(this.currentItem.__config__.defaultValue);
|
||||
// this.$set(config, "defaultValue", event);
|
||||
// // console.log(this.currentItem.__config__.defaultValue);
|
||||
this.currentItem.__config__.defaultValue = event;
|
||||
// config.defaultValue = event;
|
||||
// config.defaultValue = event;
|
||||
config.defaultValue = event;
|
||||
}}
|
||||
>
|
||||
{{
|
||||
@ -170,7 +164,7 @@ const layouts = {
|
||||
key={config.renderKey}
|
||||
conf={currentItem}
|
||||
onInput={(event) => {
|
||||
this.currentItem.__config__.defaultValue = event;
|
||||
config.defaultValue = event;
|
||||
}}
|
||||
>
|
||||
{child}
|
||||
|
@ -206,7 +206,7 @@
|
||||
:modelValue="activeData.min"
|
||||
:min="0"
|
||||
placeholder="至少应选"
|
||||
@input="$set(activeData, 'min', $event ? $event : undefined)"
|
||||
@input="activeData.min = $event ? $event : undefined"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item
|
||||
@ -217,7 +217,7 @@
|
||||
:modelValue="activeData.max"
|
||||
:min="0"
|
||||
placeholder="最多可选"
|
||||
@input="$set(activeData, 'max', $event ? $event : undefined)"
|
||||
@input="activeData.max = $event ? $event : undefined"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item
|
||||
|
Reference in New Issue
Block a user