//禁止粘贴
<a-input @paste.native.capture.prevent="handleOperate"></a-input>
//禁止复制
<a-input @copy.native.capture.prevent="handleOperate"
ant design vue a-input输入框禁止粘贴复制
最新推荐文章于 2024-06-17 20:26:42 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)
//禁止粘贴
<a-input @paste.native.capture.prevent="handleOperate"></a-input>
//禁止复制
<a-input @copy.native.capture.prevent="handleOperate"