On copy link/code show msg for copied (#34)
This commit is contained in:
@@ -50,6 +50,7 @@ export default {
|
|||||||
el.select()
|
el.select()
|
||||||
document.execCommand('copy')
|
document.execCommand('copy')
|
||||||
document.body.removeChild(el)
|
document.body.removeChild(el)
|
||||||
|
this.alertSuccess('Copied!')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -157,6 +157,7 @@ export default {
|
|||||||
el.select()
|
el.select()
|
||||||
document.execCommand('copy')
|
document.execCommand('copy')
|
||||||
document.body.removeChild(el)
|
document.body.removeChild(el)
|
||||||
|
this.alertSuccess('Copied!')
|
||||||
},
|
},
|
||||||
duplicateForm() {
|
duplicateForm() {
|
||||||
if (this.loadingDuplicate) return
|
if (this.loadingDuplicate) return
|
||||||
|
|||||||
Reference in New Issue
Block a user