mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 05:22:13 +08:00
fix(数据集): 字段表达式引用新建的计算参数失败
This commit is contained in:
@@ -99,10 +99,12 @@ const formQuotaConfirm = () => {
|
||||
if (val) {
|
||||
if (!formQuota.id) {
|
||||
formQuota.id = `params_${guid()}`
|
||||
formQuota.originName = formQuota.name
|
||||
}
|
||||
const q = cloneDeep(unref(formQuota))
|
||||
fieldForm.params = [q]
|
||||
const i = state.quotaData.find(ele => ele.id === formQuota.id)
|
||||
|
||||
if (i) {
|
||||
const str = mirror.value.state.doc.toString()
|
||||
const name2Auto = []
|
||||
@@ -120,6 +122,7 @@ const formQuotaConfirm = () => {
|
||||
})
|
||||
} else {
|
||||
state.quotaData.push(q)
|
||||
quotaDataList.push(q)
|
||||
}
|
||||
formQuotaClose()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user