style: 调整element,popover组件弹出效果

This commit is contained in:
@changcode
2021-10-27 14:32:26 +08:00
parent c42c9976f0
commit d9c7196768
9 changed files with 14 additions and 14 deletions

View File

@@ -24,7 +24,7 @@
:show-overflow-tooltip="true"
:label="$t('project.endpoint.element')">
<template v-slot="scope">
<el-popover trigger="click" placement="right" v-if="typeof scope.row.metricTip != 'undefined' && scope.row.metricTip != null">
<el-popover trigger="hover" 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:'&#45;&#45;'}}</span></li>