mirror of
https://github.com/fatedier/frp.git
synced 2026-04-30 04:59:11 +08:00
web/frps: more info (#3326)
This commit is contained in:
15
web/frps/src/components/LongSpan.vue
Normal file
15
web/frps/src/components/LongSpan.vue
Normal file
@@ -0,0 +1,15 @@
|
||||
<template>
|
||||
<el-tooltip :content="content" placement="top">
|
||||
<span v-show="content.length > length"
|
||||
>{{ content.slice(0, length) }}...</span
|
||||
>
|
||||
</el-tooltip>
|
||||
<span v-show="content.length < 30">{{ content }}</span>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
defineProps<{
|
||||
content: string
|
||||
length: number
|
||||
}>()
|
||||
</script>
|
||||
Reference in New Issue
Block a user