d2-crud-plus
d2-crud-plus copied to clipboard
文档相关 | 前端excel导出问题
为了统一格式,请将下面一行复制到 `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 }) } } }
formatter不支持异步方法