Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
xuliangzhan committed Oct 20, 2020
1 parent 09b47b6 commit fbf240e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -363,8 +363,8 @@ function defaultButtonsItemRender (h: CreateElement, renderOpts: FormItemRenderO

function createExportMethod (getExportCellValue: Function) {
return function (params: ColumnExportCellRenderParams) {
const { column } = params
return getExportCellValue(column.editRender || column.cellRender, params)
const { row, column, options } = params
return options && options.original ? XEUtils.get(row, column.property) : getExportCellValue(column.editRender || column.cellRender, params)
}
}

Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vxe-table-plugin-iview",
"version": "1.9.2",
"version": "1.9.3",
"description": "基于 vxe-table 表格的适配插件,用于兼容 iview、view-design 组件库",
"scripts": {
"lib": "gulp build"
Expand Down Expand Up @@ -48,9 +48,9 @@
"markdown-doctest": "^0.9.1",
"prettier": "^1.18.2",
"typescript": "^3.9.3",
"vue": "^2.6.11",
"vxe-table": "^2.9.22",
"xe-utils": "^2.7.12"
"vue": "^2.6.12",
"vxe-table": "^2.9.26",
"xe-utils": "^2.7.13"
},
"peerDependencies": {
"view-design": ">= 4.0.0",
Expand Down

0 comments on commit fbf240e

Please sign in to comment.