web/frps: more info (#3326)

This commit is contained in:
fatedier
2023-02-22 00:39:56 +08:00
committed by GitHub
parent fe8374e99b
commit 2f59e967a0
12 changed files with 136 additions and 66 deletions

View 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>