forked from github/dataease
fix: 数据集 SQL 数据集,数据比较返回结果错误
This commit is contained in:
parent
c601cee7c3
commit
605f87cb82
@ -268,7 +268,7 @@ const getSQLPreview = () => {
|
|||||||
sqlVariableDetails: JSON.stringify(state.variables)
|
sqlVariableDetails: JSON.stringify(state.variables)
|
||||||
})
|
})
|
||||||
.then(res => {
|
.then(res => {
|
||||||
state.plxTableData = res.data.data.map((ele, index) => ({ ...ele, id: index }))
|
state.plxTableData = res.data.data
|
||||||
state.fields = generateColumns(res.data.fields)
|
state.fields = generateColumns(res.data.fields)
|
||||||
})
|
})
|
||||||
.finally(() => {
|
.finally(() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user