Commit d3e9bb1b authored by 田翔's avatar 田翔

fix: 附件形态问题

parent 556facb9
{
"name": "panda-xform",
"version": "5.2.2",
"description": "5.2.2 关联表单编辑状态下点击不进行处理",
"version": "5.2.3",
"description": "5.2.3 附件形态问题",
"keywords": [
"panda-xform"
],
......
......@@ -260,10 +260,14 @@ const FileUpload = (props) => {
return fileList
}
useEffect(async () => {
const setList = async () => {
setShowList(await valueToList(presetValue))
}
useEffect(() => {
if (presetValue && !presetValue.includes('拍照相册')) {
addons?.setValue(addons?.dataPath, presetValue || '')
setShowList(await valueToList(presetValue))
setList()
} else {
addons?.setValue(addons?.dataPath, '')
}
......
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