Skip to content
On this page

v-copy

js
<template>
  <el-button v-copy="data">复制</el-button>
</template>
<script setup>
  const data = ref('我是复制的内容')
<script>

Released under the MIT License.