处理Anaysis Sources Alarms 无数据时的状态显示问题
This commit is contained in:
parent
94977a59c7
commit
a20853ad51
|
@ -109,9 +109,11 @@ export default {
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
this.spinning = false
|
this.spinning = false
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
|
if (res.result.pieTotal > 0) {
|
||||||
this.pieData = res.result.pieData
|
this.pieData = res.result.pieData
|
||||||
this.pieTotal = res.result.pieTotal
|
this.pieTotal = res.result.pieTotal
|
||||||
this.drawRightChart()
|
this.drawRightChart()
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning('This operation fails. Contact your system administrator')
|
this.$message.warning('This operation fails. Contact your system administrator')
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user