fix: 修复自动测试不通过的内容
(cherry picked from commit 5f621784ff)
Co-authored-by: chenjinsong <523037378@qq.com>
This commit is contained in:
@@ -202,7 +202,6 @@ export default {
|
||||
this.toggleLoading(true)
|
||||
axios.get(url, { params: params }).then(response => {
|
||||
const res = response.data
|
||||
console.info(res)
|
||||
if (response.status === 200) {
|
||||
this.chartDateObject = res.data.result
|
||||
this.isNoData = res.data.result.length === 0
|
||||
@@ -425,11 +424,13 @@ export default {
|
||||
}
|
||||
})
|
||||
}
|
||||
const series = this.tabs.filter(tab => tab.show)
|
||||
const yAxisStartValue = getYAxisBeginValue(series)
|
||||
const _option = this.myChart.getOption()
|
||||
_option.yAxis[0].startValue = yAxisStartValue
|
||||
this.myChart.setOption(_option)
|
||||
if (this.myChart) {
|
||||
const series = this.tabs.filter(tab => tab.show)
|
||||
const yAxisStartValue = getYAxisBeginValue(series)
|
||||
const _option = this.myChart.getOption()
|
||||
_option.yAxis[0].startValue = yAxisStartValue
|
||||
this.myChart.setOption(_option)
|
||||
}
|
||||
}
|
||||
if (val === 'active') {
|
||||
this.tabs.forEach(t => {
|
||||
|
||||
@@ -186,7 +186,6 @@ export default {
|
||||
}
|
||||
},
|
||||
mounted () {
|
||||
console.info(this.node)
|
||||
this.handleDetailData(this.node)
|
||||
},
|
||||
setup (props) {
|
||||
|
||||
@@ -290,7 +290,6 @@ export default {
|
||||
},
|
||||
initTagsData () {
|
||||
let url = ''
|
||||
console.info(this.entity)
|
||||
switch (this.entity.entityType) {
|
||||
case ('domain'): {
|
||||
url = api.entity.entityList.domainTags
|
||||
|
||||
Reference in New Issue
Block a user