# PmClipButton
# 基础用法
<template>
<pm-clip-button data="copy"></pm-clip-button>
</template>
# slot
<template>
<pm-clip-button data="copy">
<el-button>点击复制</el-button>
</pm-clip-button>
</template>
:::tip 需要安装 clipboard 包 npm install clipboard --save :::
# Attributes
参数 | 说明 | 类型 | 可选值 | 默认值 |
---|---|---|---|---|
data | 需要被复制的数据 | string | - | - |