Commit 562d2dc9 authored by 田翔's avatar 田翔

fix: 表单点击详情字段显示问题

parent c152a073
{
"name": "panda-xform",
"version": "6.9.21",
"description": "6.9.21 点击单选框形态颜色配置消失",
"version": "6.9.22",
"description": "6.9.22 表单点击详情字段显示问题",
"keywords": [
"panda-xform"
],
......
......@@ -129,7 +129,7 @@ const Account = (props, ref) => {
}
const { code, data, msg } = await GetTableDataInfoExtend({ accountName: params.accountName, id: row.ID, timeLimit: Limit });
if (code === 0) {
saveClick(editField, data.formJson, data.value, type);
saveClick(editField, isJson(data.formJson) ? JSON.parse(data.formJson) : {}, data.value, type);
} else {
message.error(msg);
}
......@@ -253,6 +253,7 @@ const Account = (props, ref) => {
const saveClick = (field, formJson, values, type) => {
let json = JSON.parse(JSON.stringify(formJson));
let parent = json?.properties;
console.log(1, field, json)
if (isObject(parent)) {
for (let v in parent) {
let hidden = true;
......
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