Skip to content

Commit 13f7a86

Browse files
authored
Merge pull request #29 from kne-union/linzp
修改getValueOf取值错误问题
2 parents f5b7d74 + c0ec0ea commit 13f7a86

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@kne/info-page",
3-
"version": "0.1.13",
3+
"version": "0.1.14",
44
"description": "一般用在复杂的详情展示页面,InfoPage提供了一个标准的展示信息的格式",
55
"syntax": {
66
"esmodules": true

src/TableView/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ const TableView = p => {
8383
const { name, span } = column;
8484
const colItem = (item => {
8585
const itemValue =
86-
typeof item.getValueOf === 'function'
87-
? item.getValueOf(item, {
86+
typeof column.getValueOf === 'function'
87+
? column.getValueOf(item, {
8888
dataSource,
8989
columns,
9090
column,

0 commit comments

Comments
 (0)