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

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) { async function coppyLink(link: string) {
const textarea = document.createElement("textarea"); const linkById = link;
textarea.value = link; navigator.clipboard.writeText(linkById);
document.body.appendChild(textarea); success($q, "คัดลอกสำเร็จ");
textarea.select();
document.execCommand("copy"); // const textarea = document.createElement("textarea");
success($q, "คัดลอกลิ้งค์สำเร็จ"); // textarea.value = link;
// document.body.appendChild(textarea);
// textarea.select();
// document.execCommand("copy");
// success($q, "");
} }
async function fetchCheckDate() { async function fetchCheckDate() {