!731 fix:修复表单联动数据json解析错误问题
Merge pull request !731 from 189******93/fix-form-create
This commit is contained in:
commit
b8e353871d
@ -11,7 +11,7 @@ export const encodeConf = (designerRef: object) => {
|
||||
// 编码表单 Fields
|
||||
export const encodeFields = (designerRef: object) => {
|
||||
// @ts-ignore
|
||||
const rule = designerRef.value.getRule()
|
||||
const rule = JSON.parse(designerRef.value.getJson())
|
||||
const fields: string[] = []
|
||||
rule.forEach((item) => {
|
||||
fields.push(JSON.stringify(item))
|
||||
|
Loading…
Reference in New Issue
Block a user