Skip to content

Commit

Permalink
copy final url first
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaozhuai committed Sep 30, 2019
1 parent b9b1b56 commit 1dc3d1c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "thunder-download-manager",
"version": "0.1.5",
"version": "0.1.6",
"license": "MIT",
"scripts": {
"serve": "vue-cli-service serve",
Expand Down
2 changes: 1 addition & 1 deletion public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"manifest_version": 2,
"version": "0.1.5",
"version": "0.1.6",
"short_name": "Thunder",
"name": "__MSG_extName__",
"description": "__MSG_extDesc__",
Expand Down
2 changes: 1 addition & 1 deletion src/components/FileItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ export default {
return `${size} ${unit}`;
},
copyLink() {
window.navigator.clipboard.writeText(this.item.url).then(() => {
window.navigator.clipboard.writeText(this.fileUrl).then(() => {
this.$message.success(this.$tr('sucCopyLink'));
}).catch(() => {
this.$message.error(this.$tr('errCopyLink'));
Expand Down

0 comments on commit 1dc3d1c

Please sign in to comment.