(text)
| 7 | * 文字写入到剪贴板 |
| 8 | */ |
| 9 | const textWriteShearPlate = (text): void => { |
| 10 | if (isNull(text)) { |
| 11 | ElMessageExtend.warning('复制的文本内容为空') |
| 12 | return |
| 13 | } |
| 14 | window.api.textWriteShearPlateEvent(text) |
| 15 | ElMessageExtend.success('复制成功') |
| 16 | } |
| 17 | |
| 18 | /** |
| 19 | * 文字写入到剪贴板 - 驼峰格式 |
no test coverage detected