แก้ประเมินบุคคล

This commit is contained in:
Warunee Tamkoo 2023-12-23 12:45:31 +07:00
parent 23b522f1ee
commit cbcb32a3dc

View file

@ -49,12 +49,16 @@ async function onClickfetchDocument(fileName: string, type: string) {
}
async function coppyLink(link: string) {
const textarea = document.createElement("textarea");
textarea.value = link;
document.body.appendChild(textarea);
textarea.select();
document.execCommand("copy");
success($q, "คัดลอกลิ้งค์สำเร็จ");
const linkById = link;
navigator.clipboard.writeText(linkById);
success($q, "คัดลอกสำเร็จ");
// const textarea = document.createElement("textarea");
// textarea.value = link;
// document.body.appendChild(textarea);
// textarea.select();
// document.execCommand("copy");
// success($q, "");
}
async function fetchCheckDate() {