mirror of
https://github.com/dataease/dataease.git
synced 2026-05-21 04:08:10 +08:00
fix(数据集): 删除包含计算字段的节点报错
This commit is contained in:
committed by
xuwei-fit2cloud
parent
175bdb59b7
commit
36bcc92508
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user