@@ -1,8 +1,3 @@
-/**
- * v-copyText 复制文本内容
- * Copyright (c) 2022 ruoyi
- */
-
export default {
beforeMount(el: any, { value, arg }: any) {
if (arg === 'callback') {
@@ -1,5 +1,5 @@
-import copyText from './common/copyText';
import { App } from 'vue';
+import copyText from './common/copyText';
export default (app: App) => {
app.directive('copyText', copyText);