效果如下:
文章来源:https://www.toymoban.com/news/detail-610641.html
代码如下:文章来源地址https://www.toymoban.com/news/detail-610641.html
ForwardDataCenterModal('_blank');
export const ForwardDataCenterModal = (target?: string) => {
let contentBefore = React.createElement('span', null, '数据正在处理中,请稍后前往');
let contentAfter = React.createElement('span', null, '查看');
let link = React.createElement(
'a',
{
onClick: () => {
AntModal.destroyAll();
setTimeout(() => {
window.open('#/report-download-center', target ? target : '_self');
}, 100);
},
},
'数据-导入/导出记录'
);
let content = React.createElement('div', {}, [contentBefore, link, contentAfter]);
Modal.info({
content: content,
});
};
到了这里,关于React AntDesign写一个导出数据的提示语 上面有跳转的路径,或者点击知道了,关闭该弹层的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!