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}
|
||||
|
Reference in New Issue
Block a user