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

获取值改为字符串

parent a872396b
{
"name": "panda-xform",
"version": "2.2.0",
"description": "2.2.0: 未分组生成分组逻辑优化,计算规则函数调整",
"version": "2.2.1",
"description": "2.2.1: 获取值改为字符串",
"keywords": [
"panda-xform"
],
......
......@@ -75,7 +75,7 @@ const XRender = (props, ref) => {
Object.keys(data).map((k) => {
if (isObject(data[k])) {
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) => {
relationForm?.configs.forEach(v => {
v.queryWheres = queryWheres.map(v => { return { fieldName: v.field, fieldValue: v.value } })
})
addons.getValue('relationForm', relationForm)
return queryWheres
}
const getTableData = async (addFieldGroup) => {
console.log('addons', addons, addFieldGroup)
if (!addons) return
let queryWheres = getQueryWheres(addFieldGroup)
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