Commit 5638af02 authored by 田翔's avatar 田翔

fix: 代码优化

parent 259981a1
{
"name": "panda-xform",
"version": "5.6.4",
"description": "5.6.4 无预览图片时增加通用图片",
"version": "5.6.5",
"description": "5.6.5 代码优化",
"keywords": [
"panda-xform"
],
......
......@@ -66,8 +66,7 @@ const FileUpload = (props) => {
const site = window.globalConfig?.userInfo?.site || window.globalConfig?.userInfo?.LocalSite
const { addons, value, schema, onChange } = props
const { disabled, fileType, placeholder, preview, download } = schema
const presetValue = 'be489bc1-db3f-4d24-8d81-79910c99b7cb/业务系统菜单配置说明.pdf'
const { disabled, fileType, presetValue, placeholder, preview, download } = schema
const [imgVisible, setImgVisible] = useState(false)
const [showList, setShowList] = useState([])
......
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