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: us...@infra.apache.org With regards, Apache Git Services