Merge pull request 'fix: 修改汇总区块不格式化文本类型' (#605) from fix-group into dev
Reviewed-on: daoyoucloud/tachycode#605
This commit is contained in:
commit
9331bf3c6d
@ -150,7 +150,8 @@ const tableItem = (configItem, result, service, params, api) => {
|
||||
key: index,
|
||||
};
|
||||
columns.forEach((colItem, index) => {
|
||||
const data = isNaN(value[index]) ? value[index] : fieldTransformers(configItem, value[index], api);
|
||||
const data =
|
||||
typeof value[index] === 'string' ? value[index] : fieldTransformers(configItem, value[index], api);
|
||||
item[colItem.dataIndex] = data;
|
||||
});
|
||||
options.push(item);
|
||||
|
Loading…
Reference in New Issue
Block a user