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

开发

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