fix(数据集): 删除包含计算字段的节点报错

This commit is contained in:
dataeaseShu
2025-06-13 09:26:32 +08:00
committed by xuwei-fit2cloud
parent 175bdb59b7
commit 36bcc92508
7 changed files with 10 additions and 10 deletions

View File

@@ -660,7 +660,7 @@ export function setIdValueTrans(from, to, content, colList) {
pre[next[from]] = next[to]
return pre
}, {})
const on = content?.match(/\[(.+?)\]/g)
const on = content?.match(/\[(.+?)\]/g) || []
if (on) {
on.forEach(itm => {
const ele = itm.slice(1, -1)