fix: 临时去掉事件相关图表的接口请求,并修改测试用例

This commit is contained in:
chenjinsong
2023-09-13 14:27:41 +08:00
parent 037b97f140
commit 406eab8f18
8 changed files with 34 additions and 15 deletions

View File

@@ -150,7 +150,7 @@ export default {
limit: 10,
type: this.metric
}
axios.get(api.npm.events.dimensionEvents, { params }).then(res => {
/*axios.get(api.npm.events.dimensionEvents, { params }).then(res => {
if (res.status === 200) {
this.showError = false
if (!res.data.data.result || res.data.data.result.length === 0) {
@@ -168,7 +168,9 @@ export default {
this.errorMsg = this.errorMsgHandler(e)
}).finally(() => {
this.toggleLoading(false)
})
})*/
this.isNoData = true
this.toggleLoading(false)
},
changeMetric () {
this.init()