mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-30 17:00:26 +08:00
集群/节点阈值切换监控项时同时切换参数描述
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<div>
|
<div>
|
||||||
<second-menu>
|
<second-menu>
|
||||||
<menu-item @click.prevent="createThreshold">添加阈值</menu-item>
|
<menu-item @click.prevent="createThreshold">[添加阈值]</menu-item>
|
||||||
</second-menu>
|
</second-menu>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ Tea.context(function () {
|
|||||||
that.itemDescription = v.description
|
that.itemDescription = v.description
|
||||||
that.itemParams = v.params
|
that.itemParams = v.params
|
||||||
that.threshold.param = v.params[0].code
|
that.threshold.param = v.params[0].code
|
||||||
|
that.paramDescription = v.params[0].description
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<div class="right-box with-menu">
|
<div class="right-box with-menu">
|
||||||
<first-menu>
|
<first-menu>
|
||||||
<menu-item @click.prevent="createThreshold">添加阈值</menu-item>
|
<menu-item @click.prevent="createThreshold">[添加阈值]</menu-item>
|
||||||
</first-menu>
|
</first-menu>
|
||||||
|
|
||||||
<p class="comment" v-if="thresholds.length == 0">暂时还没有设置阈值。</p>
|
<p class="comment" v-if="thresholds.length == 0">暂时还没有设置阈值。</p>
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ Tea.context(function () {
|
|||||||
that.itemDescription = v.description
|
that.itemDescription = v.description
|
||||||
that.itemParams = v.params
|
that.itemParams = v.params
|
||||||
that.threshold.param = v.params[0].code
|
that.threshold.param = v.params[0].code
|
||||||
|
that.paramDescription = v.params[0].description
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user