Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

文档相关 | 前端excel导出问题 #222

Open
cc0411 opened this issue Feb 15, 2022 · 1 comment
Open

文档相关 | 前端excel导出问题 #222

cc0411 opened this issue Feb 15, 2022 · 1 comment

Comments

@cc0411
Copy link

cc0411 commented Feb 15, 2022

为了统一格式,请将下面一行复制到 `Title` 栏,然后删除这部分
文档相关 | 你的标题

前端导出excel ,formatter(row, context){
// 数据格式化
// row.xxx = parseInt(row.xxx)
},
这个方法远程调用api方法无反应,是否不支持
formatter (row, context) {
if (row.server != null) {
GetRemoteServer(row.server).then(res =>{
row.server = res.data.ip
})
}
}
}

@greper
Copy link
Owner

greper commented Feb 15, 2022

formatter不支持异步方法

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants