We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc1e8bf commit 282d94fCopy full SHA for 282d94f
frontend/src/views/chat/component/charts/Table.ts
@@ -109,10 +109,11 @@ function copyData(event: any, s2?: TableSheet) {
109
const cellMeta = s2.facet.getCellMeta(c.rowIndex, c.colIndex)
110
console.log(cellMeta)
111
if (cellMeta) {
112
- let value = cellMeta.fieldValue as string
+ let value = cellMeta.fieldValue
113
if (value === null || value === undefined) {
114
value = ''
115
}
116
+ value = value + ''
117
copyToClipboard(value).finally(() => {
118
ElMessage.success(t('qa.copied'))
119
console.debug('copied:', cellMeta.fieldValue)
0 commit comments