mirror of
https://gitee.com/myxzgzs/boyue-ui-admin-vue3
synced 2025-08-09 08:52:41 +08:00
fix:修复表单联动数据json解析错误问题
This commit is contained in:
parent
192453e47d
commit
19caff2109
@ -11,7 +11,7 @@ export const encodeConf = (designerRef: object) => {
|
|||||||
// 编码表单 Fields
|
// 编码表单 Fields
|
||||||
export const encodeFields = (designerRef: object) => {
|
export const encodeFields = (designerRef: object) => {
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
const rule = designerRef.value.getRule()
|
const rule = JSON.parse(designerRef.value.getJson())
|
||||||
const fields: string[] = []
|
const fields: string[] = []
|
||||||
rule.forEach((item) => {
|
rule.forEach((item) => {
|
||||||
fields.push(JSON.stringify(item))
|
fields.push(JSON.stringify(item))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user