fix -- 修复表单构建保存表单数据错误,导致显示上次的数据。
This commit is contained in:
@@ -183,7 +183,7 @@ export default {
|
|||||||
selectComponents,
|
selectComponents,
|
||||||
layoutComponents,
|
layoutComponents,
|
||||||
labelWidth: 100,
|
labelWidth: 100,
|
||||||
drawingList: drawingDefault,
|
drawingList: [],
|
||||||
drawingData: {},
|
drawingData: {},
|
||||||
activeId: drawingDefault[0].formId,
|
activeId: drawingDefault[0].formId,
|
||||||
drawerVisible: false,
|
drawerVisible: false,
|
||||||
@@ -503,7 +503,6 @@ export default {
|
|||||||
handleForm() {
|
handleForm() {
|
||||||
this.formData = {
|
this.formData = {
|
||||||
fields: deepClone(this.drawingList),
|
fields: deepClone(this.drawingList),
|
||||||
...this.formConf
|
|
||||||
}
|
}
|
||||||
this.form.content = JSON.stringify(this.formData);
|
this.form.content = JSON.stringify(this.formData);
|
||||||
this.formOpen = true;
|
this.formOpen = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user