fix(数据集): 修改无效数据集使用的无效源失败

This commit is contained in:
dataeaseShu
2025-03-18 13:57:48 +08:00
committed by 王嘉豪
parent 0f6eeda317
commit 85de1e4d6f

View File

@@ -244,7 +244,13 @@ const saveSqlNode = (val: SqlNode, cb) => {
}
return
}
const obj = { info: JSON.stringify({ table: tableName, sql }), id, tableName, sqlVariableDetails }
const obj = {
info: JSON.stringify({ table: tableName, sql }),
id,
datasourceId,
tableName,
sqlVariableDetails
}
dfsNodeBack([obj], [id], state.nodeList)
emits('reGetName')
}