Commit 09a0c72f authored by 田翔's avatar 田翔

fix: 附件bug修复

parent 4c871552
{ {
"name": "panda-xform", "name": "panda-xform",
"version": "4.6.5", "version": "4.6.6",
"description": "4.6.5 支持坐标与地名互相同步,附件bug'修复", "description": "4.6.6 附件bug'修复",
"keywords": [ "keywords": [
"panda-xform" "panda-xform"
], ],
......
...@@ -171,7 +171,7 @@ const FileUpload = (props) => { ...@@ -171,7 +171,7 @@ const FileUpload = (props) => {
useEffect(() => { useEffect(() => {
if (presetValue && !presetValue.includes('拍照相册')) { if (presetValue && !presetValue.includes('拍照相册')) {
addons?.setValueByPath(addons.dataPath, presetValue || '') onChange(presetValue || '')
setShowList(valueToList(presetValue)) setShowList(valueToList(presetValue))
} }
}, [presetValue]) }, [presetValue])
......
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