8000 feat: replace vue-clipboards with vue-clipboard2 · clarkdo/hare@fb700d7 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Commit fb700d7

Browse files
committed
feat: replace vue-clipboards with vue-clipboard2
1 parent 4bf6176 commit fb700d7

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

client/pages/account/token.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
</el-form-item>
2222
<el-form-item>
2323
<el-button
24-
v-clipboard="token"
24+
v-clipboard:copy="token"
2525
type="primary"
2626
>
2727
Copy

client/plugins/clipboard.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
import Vue from 'vue'
2-
import VueClipboards from 'vue-clipboards'
2+
import VueClipboard from 'vue-clipboard2'
33

4-
Vue.use(VueClipboards)
4+
Vue.use(VueClipboard)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"nuxt-property-decorator": "^2.1.3",
6464
"svg-captcha": "^1.3.11",
6565
"vue-chartjs": "^3.4.2",
66-
"vue-clipboards": "^1.2.4",
66+
"vue-clipboard2": "^0.3.0",
6767
"vue-i18n": "^7.6.0",
6868
"xmlify": "^1.1.0"
6969
},

yarn.lock

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2881,10 +2881,10 @@ cli-width@^2.0.0:
28812881
resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.2.0.tgz#ff19ede8a9a5e579324147b0c11f0fbcbabed639"
28822882
integrity sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk=
28832883

2884-
clipboard@^1.7.1:
2885-
version "1.7.1"
2886-
resolved "https://registry.yarnpkg.com/clipboard/-/clipboard-1.7.1.tgz#360d6d6946e99a7a1fef395e42ba92b5e9b5a16b"
2887-
integrity sha1-Ng1taUbpmnof7zleQrqStem1oWs=
2884+
clipboard@^2.0.0:
2885+
version "2.0.4"
2886+
resolved "https://registry.yarnpkg.com/clipboard/-/clipboard-2.0.4.tgz#836dafd66cf0fea5d71ce5d5b0bf6e958009112d"
2887+
integrity sha512-Vw26VSLRpJfBofiVaFb/I8PVfdI1OxKcYShe6fm0sP/DtmiWQNCjhM/okTvdCo0G+lMMm1rMYbk4IK4x1X+kgQ==
28882888
dependencies:
28892889
good-listener "^1.2.2"
28902890
select "^1.1.2"
@@ -10933,12 +10933,12 @@ vue-class-component@^6.2.0:
1093310933
resolved "https://registry.yarnpkg.com/vue-class-component/-/vue-class-component-6.3.2.tgz#e6037e84d1df2af3bde4f455e50ca1b9eec02be6"
1093410934
integrity sha512-cH208IoM+jgZyEf/g7mnFyofwPDJTM/QvBNhYMjqGB8fCsRyTf68rH2ISw/G20tJv+5mIThQ3upKwoL4jLTr1A==
1093510935

10936-
vue-clipboards@^1.2.4:
10937-
version "1.2.4"
10938-
resolved "https://registry.yarnpkg.com/vue-clipboards/-/vue-clipboards-1.2.4.tgz#31bc7e47f962c6ce0ba974649fc6f8a35d83a6ef"
10939-
integrity sha512-33W4Zi3tHFwFyHGjjH3j0mcr9vS5c+h7QUtT6PnQPLHB0fW05Mi+Q7lpSvJp+nNNnyAF6uRhK4EZsn/El1nY+A==
10936+
vue-clipboard2@^0.3.0:
10937+
version "0.3.0"
10938+
resolved "https://registry.yarnpkg.com/vue-clipboard2/-/vue-clipboard2-0.3.0.tgz#b04d3f9a2d46f12ca85178445930b38463640b22"
10939+
integrity sha512-6/Y9NJErWb4LNBLMgsJSdKb7KpF6/jqXagvKlYut6VQzQsNj6515FpwH0r5hhmeJMqaPzf1kxAw8L8Qvw/QBJQ==
1094010940
dependencies:
10941-
clipboard "^1.7.1"
10941+
clipboard "^2.0.0"
1094210942

1094310943
vue-hot-reload-api@^2.3.0:
1094410944
version "2.3.3"

0 commit comments

Comments
 (0)
0