We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
保存 解析函数 无法没有保存
// 编码表单 Fields export const encodeFields = (designerRef: object) => { // @ts-ignore const rule = designerRef.value.getRule() const fields: string[] = [] rule.forEach((item) => { if (item?.effect?.fetch?.parse) { item.effect.fetch.parse = item.effect.fetch.parse.toString() } const itemTmp = JSON.stringify(item) fields.push(itemTmp) }) return fields } // 解码表单 Fields export const decodeFields = (fields: string[]) => { const rule: object[] = [] fields.forEach((item) => { const itemTmp = JSON.parse(item) if (itemTmp?.effect?.fetch?.parse) { itemTmp.effect.fetch.parse = eval('(' + itemTmp.effect.fetch.parse + ')') } rule.push(itemTmp) }) return rule }
The text was updated successfully, but these errors were encountered:
https://docs.qq.com/doc/DZlNIVkZSTlVJVEd2
Sorry, something went wrong.
YunaiV
No branches or pull requests
保存 解析函数 无法没有保存
The text was updated successfully, but these errors were encountered: