forked from github/dataease
fix(图表): 多选复制忽略 null 值
This commit is contained in:
parent
af3c22280b
commit
d298b6ec28
@ -1035,7 +1035,7 @@ export function copyContent(s2Instance: SpreadSheet, event, fieldMeta) {
|
||||
if (metaObj) {
|
||||
fieldVal = metaObj.formatter(value)
|
||||
}
|
||||
if (fieldVal === undefined) {
|
||||
if (fieldVal === undefined || fieldVal === null) {
|
||||
fieldVal = ''
|
||||
}
|
||||
if (index !== arr.length - 1) {
|
||||
|
Loading…
Reference in New Issue
Block a user