_gLoadingTip

dev_aliyun_beta
hjm 6 years ago
parent 0ed96cb410
commit 267f1b7c52

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

Loading…
Cancel
Save