form 表单 预览

This commit is contained in:
cxc
2022-12-21 17:16:20 +08:00
parent 0926b42051
commit 7c35ccd910
7 changed files with 197 additions and 100 deletions

View File

@ -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}