Skip to content

Commit dc1e8bf

Browse files
committed
feat: chat table support copy value via right click
1 parent 3d1f941 commit dc1e8bf

File tree

1 file changed

+1
-1
lines changed
  • frontend/src/views/chat/component/charts

1 file changed

+1
-1
lines changed

frontend/src/views/chat/component/charts/Table.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ function copyData(event: any, s2?: TableSheet) {
109109
const cellMeta = s2.facet.getCellMeta(c.rowIndex, c.colIndex)
110110
console.log(cellMeta)
111111
if (cellMeta) {
112-
let value = cellMeta.value as string
112+
let value = cellMeta.fieldValue as string
113113
if (value === null || value === undefined) {
114114
value = ''
115115
}

0 commit comments

Comments
 (0)