Javascript 复制内容到粘贴板


Javascript 复制内容到粘贴板

navigator.clipboard.writeText(encryptedInputValue).then(function() { console.log('Async: Copying to clipboard was successful!'); }, function(err) { console.error('Async: Could not copy text: ', err); });