fix: 各模块流量曲线图测试用例修改
This commit is contained in:
@@ -208,7 +208,11 @@ export default {
|
||||
}
|
||||
this.toggleLoading(true)
|
||||
try {
|
||||
if(this.chartDateObject.length > 0) {
|
||||
this.initData(this.chartDateObject, val, active, show)
|
||||
} else {
|
||||
this.init(val, show, active)
|
||||
}
|
||||
} catch (e) {
|
||||
console.error(e)
|
||||
} finally {
|
||||
|
||||
@@ -255,7 +255,11 @@ export default {
|
||||
const newVal = val ? _.clone(val) : this.metric
|
||||
this.toggleLoading(true)
|
||||
try {
|
||||
if(this.chartDateObject.length > 0) {
|
||||
this.initData(this.chartDateObject, newVal, active, show, n)
|
||||
} else {
|
||||
this.init(val, show, active, n)
|
||||
}
|
||||
} catch (e) {
|
||||
console.error(e)
|
||||
} finally {
|
||||
|
||||
@@ -231,7 +231,11 @@ export default {
|
||||
const newVal = val ? _.clone(val) : this.metric
|
||||
this.toggleLoading(true)
|
||||
try {
|
||||
if(this.chartDateObject.length > 0) {
|
||||
this.initData(this.chartDateObject, newVal, active)
|
||||
} else {
|
||||
this.init(val, active)
|
||||
}
|
||||
} catch (e) {
|
||||
console.error(e)
|
||||
} finally {
|
||||
|
||||
@@ -261,7 +261,11 @@ export default {
|
||||
const newVal = val ? _.clone(val) : this.metric
|
||||
this.toggleLoading(true)
|
||||
try {
|
||||
if(this.chartDateObject.length > 0) {
|
||||
this.initData(this.chartDateObject, newVal, active, show, n)
|
||||
} else {
|
||||
this.init(val, show, active, n)
|
||||
}
|
||||
} catch (e) {
|
||||
console.error(e)
|
||||
} finally {
|
||||
|
||||
@@ -229,7 +229,11 @@ export default {
|
||||
const newVal = val ? _.clone(val) : this.metric
|
||||
this.toggleLoading(true)
|
||||
try {
|
||||
if(this.chartDateObject.length > 0) {
|
||||
this.initData(this.chartDateObject, newVal, active, show, n)
|
||||
} else {
|
||||
this.init(val, show, active, n)
|
||||
}
|
||||
} catch (e) {
|
||||
console.error(e)
|
||||
} finally {
|
||||
|
||||
@@ -200,7 +200,11 @@ export default {
|
||||
}
|
||||
this.toggleLoading(true)
|
||||
try {
|
||||
if(this.chartDateObject.length > 0) {
|
||||
this.initLineData(this.chartDateObject, val)
|
||||
} else {
|
||||
this.init(val)
|
||||
}
|
||||
} catch (e) {
|
||||
console.error(e)
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user