On copy link/code show msg for copied (#34)

This commit is contained in:
Chirag 2022-11-28 21:41:18 +05:30 committed by GitHub
parent 91d18422de
commit 9dd6bbe5ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -50,6 +50,7 @@ export default {
el.select()
document.execCommand('copy')
document.body.removeChild(el)
this.alertSuccess('Copied!')
}
}
}

View File

@ -157,6 +157,7 @@ export default {
el.select()
document.execCommand('copy')
document.body.removeChild(el)
this.alertSuccess('Copied!')
},
duplicateForm() {
if (this.loadingDuplicate) return