@@ -159,8 +159,9 @@
textArea.select();
try {
var successful = document.execCommand('copy');
- var msg = successful ? 'successful' : 'unsuccessful';
- console.log('Copying text command was ' + msg);
+ if(successful){
+ this.$message.success('复制成功')
+ }
} catch (err) {
console.error('Oops, unable to copy', err);
}