mirror of
https://github.com/jumpserver/lina.git
synced 2025-07-03 18:26:35 +00:00
perf: account secret tool tip show delay
This commit is contained in:
parent
0ac4337f98
commit
ed371dba4f
@ -9,7 +9,14 @@
|
|||||||
>
|
>
|
||||||
<template v-if="data.label" #label>
|
<template v-if="data.label" #label>
|
||||||
<span>{{ data.label }}</span>
|
<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 -->
|
<div slot="content" v-sanitize="data.helpTip" /> <!-- Noncompliant -->
|
||||||
<i class="fa fa-question-circle-o help-tip-icon" />
|
<i class="fa fa-question-circle-o help-tip-icon" />
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
:key="index"
|
:key="index"
|
||||||
:content="item.tooltip"
|
:content="item.tooltip"
|
||||||
effect="dark"
|
effect="dark"
|
||||||
|
open-delay="500"
|
||||||
placement="top"
|
placement="top"
|
||||||
>
|
>
|
||||||
<i :class="[item.class, item.icon]" class="fa" @click="item.action()" />
|
<i :class="[item.class, item.icon]" class="fa" @click="item.action()" />
|
||||||
|
Loading…
Reference in New Issue
Block a user