NEZ-705:状态显示去除promethrus
This commit is contained in:
@@ -210,13 +210,13 @@ export default {
|
|||||||
let str = ''
|
let str = ''
|
||||||
arr.forEach((item, index) => {
|
arr.forEach((item, index) => {
|
||||||
if (index === 0) {
|
if (index === 0) {
|
||||||
str += `<div>DC <div class="active-icon inline-block ${item == '0' ? 'red-bg' : 'gray-bg'}"></div></div>`
|
str += `<div>DC <div class="active-icon inline-block ${item == '0' ? 'gray-bg' : 'green-bg'}"></div></div>`
|
||||||
}
|
}
|
||||||
if (index === 1) {
|
if (index === 1) {
|
||||||
str += `<div>ASSET <div class="active-icon inline-block ${item == '0' ? 'red-bg' : 'gray-bg'}"></div></div>`
|
str += `<div>ASSET <div class="active-icon inline-block ${item == '0' ? 'gray-bg' : 'green-bg'}"></div></div>`
|
||||||
}
|
}
|
||||||
if (index === 2) {
|
if (index === 2) {
|
||||||
str += `<div>ENDPOINT <div class="active-icon inline-block ${item == '0' ? 'red-bg' : 'gray-bg'}"></div></div>`
|
str += `<div>ENDPOINT <div class="active-icon inline-block ${item == '0' ? 'gray-bg' : 'green-bg'}"></div></div>`
|
||||||
}
|
}
|
||||||
// if (index === 3) {
|
// if (index === 3) {
|
||||||
// str += `<div>PROMETHEUS <div class="active-icon inline-block ${item == '0' ? 'red-bg' : 'green-bg'}"></div></div>`
|
// str += `<div>PROMETHEUS <div class="active-icon inline-block ${item == '0' ? 'red-bg' : 'green-bg'}"></div></div>`
|
||||||
|
|||||||
Reference in New Issue
Block a user