export default function h5Copy(content) {
    let textarea = document.createElement("textarea");
    textarea.value = content;
    textarea.readOnly = "readOnly";
    document.body.appendChild(textarea);
    textarea.select(); // 选择对象
    textarea.setSelectionRange(0, content.length); //核心
    let result = document.execCommand("Copy"); // 执行浏览器复制命令
    textarea.remove();
    return result

}
