We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d2b9933 + 19caff2 commit b8e3538Copy full SHA for b8e3538
src/utils/formCreate.ts
@@ -11,7 +11,7 @@ export const encodeConf = (designerRef: object) => {
11
// 编码表单 Fields
12
export const encodeFields = (designerRef: object) => {
13
// @ts-ignore
14
- const rule = designerRef.value.getRule()
+ const rule = JSON.parse(designerRef.value.getJson())
15
const fields: string[] = []
16
rule.forEach((item) => {
17
fields.push(JSON.stringify(item))
0 commit comments