fix: 数据集 SQL 数据集,数据比较返回结果错误

This commit is contained in:
dataeaseShu 2023-11-07 15:43:14 +08:00
parent c601cee7c3
commit 605f87cb82

View File

@ -268,7 +268,7 @@ const getSQLPreview = () => {
sqlVariableDetails: JSON.stringify(state.variables)
})
.then(res => {
state.plxTableData = res.data.data.map((ele, index) => ({ ...ele, id: index }))
state.plxTableData = res.data.data
state.fields = generateColumns(res.data.fields)
})
.finally(() => {