fix: 修改汇总区块不格式化文本类型
This commit is contained in:
parent
8c71fbd5a2
commit
a4ab6ff994
@ -150,7 +150,8 @@ const tableItem = (configItem, result, service, params, api) => {
|
|||||||
key: index,
|
key: index,
|
||||||
};
|
};
|
||||||
columns.forEach((colItem, 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;
|
item[colItem.dataIndex] = data;
|
||||||
});
|
});
|
||||||
options.push(item);
|
options.push(item);
|
||||||
|
Loading…
Reference in New Issue
Block a user