feat:http数据集数据获取失败清空数据预览

main
liu.shiyi 2 years ago
parent 402cf533e6
commit 26fc3d180c

@ -1106,6 +1106,10 @@ export default {
console.log(res)
this.updateOoutputFieldList(this.dataPreviewList)
this.$message.success('解析并执行成功')
}).catch((e) => {
//
this.dataPreviewList = []
this.updateOoutputFieldList(this.dataPreviewList)
})
} else {
//
@ -1121,7 +1125,9 @@ export default {
this.updateOoutputFieldList(this.dataPreviewList)
this.$message.success('解析并执行成功')
}).catch((e) => {
//
this.dataPreviewList = []
this.updateOoutputFieldList(this.dataPreviewList)
})
}
},

Loading…
Cancel
Save