On copy link/code show msg for copied (#34)
This commit is contained in:
parent
91d18422de
commit
9dd6bbe5ae
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue