<!-- 点击复制 -->
<template >
    <el-tooltip v-if="content" content="复制" placement="top" effect="dark">
        <el-icon class="ab-cursor-pointer" @click="useCopy(content)"><CopyDocument /></el-icon>
    </el-tooltip>
    {{ content }}
</template>

<script lang="ts">
</script>

<script setup lang="ts">
import { useCopy } from '@/framework/hooks/useCopy'

const props = defineProps({
    content: { type: String, required: true,}, //内容
})
 

</script>

<style lang="scss" scoped>
</style>