mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-17 23:59:02 +00:00
perf: Added tooltip information to view account secret
This commit is contained in:
@@ -469,7 +469,7 @@ export default {
|
||||
// 由于组件嵌套较深,有可能导致 Error in activated hook: "TypeError: Cannot read properties of undefined (reading 'getList')" 的问题
|
||||
setTimeout(() => {
|
||||
this.refresh()
|
||||
})
|
||||
}, 500)
|
||||
},
|
||||
methods: {
|
||||
onUpdateAuthDone(account) {
|
||||
|
@@ -1,6 +1,13 @@
|
||||
<template>
|
||||
<div class="content">
|
||||
<pre v-if="!isEdit" class="text">{{ currentValue }}</pre>
|
||||
<el-tooltip
|
||||
v-if="!isEdit"
|
||||
:content="currentValue"
|
||||
placement="top"
|
||||
>
|
||||
<pre class="text" style="cursor: pointer">{{ currentValue }}</pre>
|
||||
</el-tooltip>
|
||||
|
||||
<el-input
|
||||
v-else
|
||||
ref="editInput"
|
||||
@@ -9,6 +16,7 @@
|
||||
size="small"
|
||||
@blur="onEditBlur"
|
||||
/>
|
||||
|
||||
<span v-if="realValue" class="action">
|
||||
<template v-for="(item, index) in iActions">
|
||||
<el-tooltip
|
||||
|
Reference in New Issue
Block a user