|
|
|
@ -378,7 +378,7 @@ export function TPMIndexHOC(WrappedComponent) {
|
|
|
|
|
type===true?window.open(url):window.location.href=url;
|
|
|
|
|
}
|
|
|
|
|
slowDownload = (url, tip) => {
|
|
|
|
|
this._slowDownloadTip = tip || '正在生成文件,请稍后...';
|
|
|
|
|
this._gLoadingTip = tip || '正在生成文件,请稍后...';
|
|
|
|
|
this.setState({ globalLoading: true })
|
|
|
|
|
const fileUrl = url;
|
|
|
|
|
downloadFile({
|
|
|
|
@ -473,7 +473,7 @@ export function TPMIndexHOC(WrappedComponent) {
|
|
|
|
|
}</style>
|
|
|
|
|
<Spin spinning={this.state.globalLoading} delay={0} className="globalSpin"
|
|
|
|
|
size="large"
|
|
|
|
|
tip= {this._slowDownloadTip || "加载中..."}
|
|
|
|
|
tip= {this._gLoadingTip || "加载中..."}
|
|
|
|
|
>
|
|
|
|
|
|
|
|
|
|
<NewHeader {...this.state} {...this.props}></NewHeader>
|
|
|
|
|