perf: modulebox-walk-tree提示信息交互优化等

1.modulebox-walk-tree提示信息交互优化
2.alert-message列表labels不显示alertname和等级
This commit is contained in:
陈劲松
2020-04-08 18:50:00 +08:00
parent 939c51eddc
commit e924c22f6f
6 changed files with 90 additions and 50 deletions

View File

@@ -74,7 +74,7 @@
prop="element"
:label="$t('project.endpoint.element')">
<template slot-scope="scope">
<el-popover trigger="hover" placement="right" v-if="typeof scope.row.metricTip != 'undefined' && scope.row.metricTip != null">
<el-popover trigger="click" placement="right" v-if="typeof scope.row.metricTip != 'undefined' && scope.row.metricTip != null">
<div>
<ul>
<li><span class="metirc-tip-list">metric&nbsp;:&nbsp;</span><span>{{scope.row.metricTip.metric?scope.row.metricTip.metric:'--'}}</span></li>