mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-11-11 12:57:10 +08:00
refactor: 重构及优化应用管理
This commit is contained in:
28
src/components/CellCopy/index.vue
Normal file
28
src/components/CellCopy/index.vue
Normal file
@@ -0,0 +1,28 @@
|
||||
<template>
|
||||
<a-space :size="[2]">
|
||||
<a-typography-paragraph
|
||||
:ellipsis="{
|
||||
rows: 1,
|
||||
showTooltip: true,
|
||||
css: true,
|
||||
}"
|
||||
>
|
||||
{{ content }}
|
||||
</a-typography-paragraph>
|
||||
<a-typography-paragraph copyable :copy-text="content" />
|
||||
</a-space>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
defineOptions({ name: 'CellCopy' })
|
||||
|
||||
withDefaults(defineProps<Props>(), {
|
||||
content: '',
|
||||
})
|
||||
|
||||
interface Props {
|
||||
content: string
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss"></style>
|
||||
Reference in New Issue
Block a user