perf: account secret tool tip show delay

This commit is contained in:
ibuler 2024-06-27 17:44:30 +08:00 committed by 老广
parent 0ac4337f98
commit ed371dba4f
2 changed files with 9 additions and 1 deletions

View File

@ -9,7 +9,14 @@
>
<template v-if="data.label" #label>
<span>{{ data.label }}</span>
<el-tooltip v-if="data.helpTip" :open-delay="500" effect="dark" placement="right" popper-class="help-tips">
<el-tooltip
v-if="data.helpTip"
:open-delay="500"
:tabindex="-1"
effect="dark"
placement="right"
popper-class="help-tips"
>
<div slot="content" v-sanitize="data.helpTip" /> <!-- Noncompliant -->
<i class="fa fa-question-circle-o help-tip-icon" />
</el-tooltip>

View File

@ -24,6 +24,7 @@
:key="index"
:content="item.tooltip"
effect="dark"
open-delay="500"
placement="top"
>
<i :class="[item.class, item.icon]" class="fa" @click="item.action()" />