Commit 469f0444 authored by 田翔's avatar 田翔

fix: 暴露文件预览组件

parent 262284f8
{ {
"name": "panda-xform", "name": "panda-xform",
"version": "4.4.7", "version": "4.4.8",
"description": "4.4.7 更改地图引入方式", "description": "4.4.8 暴露文件预览组件",
"keywords": [ "keywords": [
"panda-xform" "panda-xform"
], ],
......
...@@ -73,6 +73,8 @@ const AccountSelector = (props) => { ...@@ -73,6 +73,8 @@ const AccountSelector = (props) => {
let rows = dataSource.filter(v => valueArr.includes(v[fieldshine[0].fromField])); let rows = dataSource.filter(v => valueArr.includes(v[fieldshine[0].fromField]));
setKeys(rows.map(v => v.ID)); setKeys(rows.map(v => v.ID));
setParams({ ...params, ...outParams, total: data.totalCount }); setParams({ ...params, ...outParams, total: data.totalCount });
} else {
setDataSource([])
} }
} else { } else {
message.error(msg); message.error(msg);
......
import FormRender from './core/FormRender' import FormRender from './core/FormRender'
import FormDesigner from './core/FormDesigner' import FormDesigner from './core/FormDesigner'
import Account from './core/Account' import Account from './core/Account'
import ReactFileViewer from 'react-file-viewer'
import { getFieldInfo } from './utils' import { getFieldInfo } from './utils'
export { export {
FormRender, FormRender,
FormDesigner, FormDesigner,
Account, Account,
ReactFileViewer,
getFieldInfo, getFieldInfo,
} }
\ No newline at end of file
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