* 分离copyable按钮动作,不再冒泡至父级组件 * Update interactive.vue Co-authored-by: tangjinzhou <415800467@qq.com>pull/5934/head
parent
187f3b8c07
commit
d48cd8ef57
|
@ -233,6 +233,7 @@ const Base = defineComponent({
|
|||
// ================ Copy ================
|
||||
function onCopyClick(e: MouseEvent) {
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
const { copyable } = props;
|
||||
|
||||
const copyConfig = {
|
||||
|
|
Loading…
Reference in New Issue