You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2019/02/17 03:12:58 UTC
[GitHub] TinyAllen commented on a change in pull request #232: Update:
update db-trace copy
TinyAllen commented on a change in pull request #232: Update: update db-trace copy
URL: https://github.com/apache/incubator-skywalking-ui/pull/232#discussion_r257486140
##########
File path: src/components/Trace/TraceListDB/index.js
##########
@@ -42,6 +50,18 @@ class TraceList extends PureComponent {
);
};
+ handleClick = (i) => {
+ const input = document.createElement('input');
+ input.value = i;
+ message.info('Copyed');
+ document.body.appendChild(input);
+ input.select();
+ if (document.execCommand('Copy')) {
+ document.execCommand('Copy');
Review comment:
because it has compatibility requirements,so use **if**
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services