修复图片放大功能读取图片地址错误问题

This commit is contained in:
2betop 2020-12-09 14:28:27 +08:00
parent eb939b0e3f
commit fe3a190f0b
2 changed files with 3 additions and 3 deletions

View File

@ -165,7 +165,7 @@ export class TableRow extends React.Component<TableRowProps> {
...rest,
width: null,
rowIndex: itemIndex,
colIndex: column.rawIndex,
colIndex: column.index,
key: column.index,
onAction: this.handleAction,
onQuickChange: this.handleQuickChange
@ -208,7 +208,7 @@ export class TableRow extends React.Component<TableRowProps> {
renderCell(`${itemIndex}/${column.index}`, column, item, {
...rest,
rowIndex: itemIndex,
colIndex: column.rawIndex,
colIndex: column.index,
key: column.index,
onAction: this.handleAction,
onQuickChange: this.handleQuickChange

View File

@ -1084,7 +1084,7 @@ export default class Table extends React.Component<TableProps, object> {
// 从列表中收集所有图片,然后作为一个图片集合派送出去。
const store = this.props.store;
const column = store.filteredColumns[target.colIndex].pristine;
const column = store.columns[target.colIndex].pristine;
let index = target.rowIndex;
const list: Array<any> = [];