集群/节点阈值切换监控项时同时切换参数描述

This commit is contained in:
GoEdgeLab
2022-12-31 18:33:42 +08:00
parent f12f594b85
commit cf9ca47fcc
4 changed files with 4 additions and 2 deletions

View File

@@ -21,6 +21,7 @@ Tea.context(function () {
that.itemDescription = v.description
that.itemParams = v.params
that.threshold.param = v.params[0].code
that.paramDescription = v.params[0].description
}
})
}

View File

@@ -4,7 +4,7 @@
<div class="right-box with-menu">
<first-menu>
<menu-item @click.prevent="createThreshold">添加阈值</menu-item>
<menu-item @click.prevent="createThreshold">[添加阈值]</menu-item>
</first-menu>
<p class="comment" v-if="thresholds.length == 0">暂时还没有设置阈值。</p>

View File

@@ -26,6 +26,7 @@ Tea.context(function () {
that.itemDescription = v.description
that.itemParams = v.params
that.threshold.param = v.params[0].code
that.paramDescription = v.params[0].description
}
})
}