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