提交 813921b5 编写于 作者: S sushuang

Fix convert value in data init.

上级 c9705fc9
......@@ -191,7 +191,7 @@ export var defaultDimValueGetters = {
arrayRows: getDimValueSimply,
objectRows: function (dataItem, dimName, dataIndex, dimIndex) {
return dataItem[dimName];
return converDataValue(dataItem[dimName], this._dimensionInfos[dimName]);
},
keyedColumns: getDimValueSimply,
......@@ -237,7 +237,7 @@ function converDataValue(value, dimInfo) {
? value
: typeof value === 'string'
? ordinalMeta.parseAndCollect(value)
: NaN;
: value;
}
if (dimType === 'time'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册