fix the tag tips (#75)

This commit is contained in:
Fine0830
2022-04-29 15:26:58 +08:00
committed by GitHub
parent f40e9633df
commit 4c1884d552
3 changed files with 19 additions and 1 deletions

View File

@@ -39,7 +39,17 @@ limitations under the License. -->
>
{{ t("tagsLink") }}
</a>
<el-tooltip :content="t('traceTagsTip')">
<el-tooltip
:content="
t(
type === 'LOG'
? 'logTagsTip'
: type === 'TRACE'
? 'traceTagsTip'
: 'alarmTagsTip'
)
"
>
<span>
<Icon class="icon-help mr-5" iconName="help" size="middle" />
</span>