forked from github/dataease
fix(数据源): API数据源验证有效性提示失败但数据表依然显示有效标识
This commit is contained in:
parent
ac736abe0c
commit
66cae1289a
@ -244,6 +244,11 @@ const validateDS = () => {
|
||||
if (status[i].status === 'Error') {
|
||||
error++
|
||||
}
|
||||
for (let i = 0; i < nodeInfo.apiConfiguration.length; i++) {
|
||||
if (nodeInfo.apiConfiguration[i].name === status[i].name) {
|
||||
nodeInfo.apiConfiguration[i].status = status[i].status
|
||||
}
|
||||
}
|
||||
}
|
||||
if (error === 0) {
|
||||
ElMessage.success('校验成功')
|
||||
|
Loading…
Reference in New Issue
Block a user