(str)
| 20 | } |
| 21 | |
| 22 | export const copy = (str) => { |
| 23 | message.success({ |
| 24 | content: window.translate('copied'), |
| 25 | duation: 2, |
| 26 | key: 'copy-message' |
| 27 | }) |
| 28 | window.pre.writeClipboard(str) |
| 29 | } |
| 30 | |
| 31 | export const cut = (str, itemTitle = '') => { |
| 32 | message.success('Cutted ' + itemTitle, 2) |
no outgoing calls