提交 0300857c authored 作者: tb53863844's avatar tb53863844

开发

上级 e9468a37
......@@ -94,7 +94,6 @@ export default class ImportUtil extends React.PureComponent {
payload: {
...(importParams || {}),
cacheKey: this.state.filekey,
importConfig:importConfig?JSON.stringify(importConfig):null,
objId: this.props.objId,
},
callback: res => {
......@@ -114,13 +113,15 @@ export default class ImportUtil extends React.PureComponent {
}
getCachKey = filePath => {
const { dispatch, importParams } = this.props;
const { dispatch, importParams, importConfig} = this.props;
dispatch({
type: 'DataObj/importAnalyse',
payload: {
...(importParams || {}),
isLocal: false,
filePath,
importConfig:importConfig?JSON.stringify(importConfig):null,
objId: this.props.objId,
},
callback: res => {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论