Commit 6dd05e66 authored by 田翔's avatar 田翔

获取值改为字符串

parent a872396b
{ {
"name": "panda-xform", "name": "panda-xform",
"version": "2.2.0", "version": "2.2.1",
"description": "2.2.0: 未分组生成分组逻辑优化,计算规则函数调整", "description": "2.2.1: 获取值改为字符串",
"keywords": [ "keywords": [
"panda-xform" "panda-xform"
], ],
......
...@@ -75,7 +75,7 @@ const XRender = (props, ref) => { ...@@ -75,7 +75,7 @@ const XRender = (props, ref) => {
Object.keys(data).map((k) => { Object.keys(data).map((k) => {
if (isObject(data[k])) { if (isObject(data[k])) {
Object.keys(data[k]).map((key) => { Object.keys(data[k]).map((key) => {
formValue.push({ fieldName: key, fieldValue: data[k][key] }) formValue.push({ fieldName: key, fieldValue: data[k][key] + '' })
}) })
} }
}) })
......
...@@ -253,12 +253,10 @@ const RelationForm = (props) => { ...@@ -253,12 +253,10 @@ const RelationForm = (props) => {
relationForm?.configs.forEach(v => { relationForm?.configs.forEach(v => {
v.queryWheres = queryWheres.map(v => { return { fieldName: v.field, fieldValue: v.value } }) v.queryWheres = queryWheres.map(v => { return { fieldName: v.field, fieldValue: v.value } })
}) })
addons.getValue('relationForm', relationForm)
return queryWheres return queryWheres
} }
const getTableData = async (addFieldGroup) => { const getTableData = async (addFieldGroup) => {
console.log('addons', addons, addFieldGroup)
if (!addons) return if (!addons) return
let queryWheres = getQueryWheres(addFieldGroup) let queryWheres = getQueryWheres(addFieldGroup)
console.log('queryWheres', queryWheres) console.log('queryWheres', queryWheres)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment