แก้ไขปุ่ม download

This commit is contained in:
AnandaTon 2024-01-15 16:53:52 +07:00
parent 3a1b8cdea4
commit f33ec8fbc5
13 changed files with 438 additions and 436 deletions

View file

@ -154,7 +154,7 @@ const clickDelete = (id: string) => {
*/
const onClickDelete = async (id: string) => {
await http
.delete(config.API.leaveUserId(id))
.delete(config.API.leaveDocumentId(id))
.then(async (res) => {
console.log("delete");
})
@ -442,8 +442,8 @@ onMounted(() => {
:href="document"
target="_blank"
outline
color="blue"
label="ดาวน์โหลด"
color="add"
icon="mdi-upload"
size="12px"
class="q-mr-md"
>
@ -451,7 +451,7 @@ onMounted(() => {
</q-btn>
<div>
<q-btn
@click="clickDelete"
@click="clickDelete('requestID')"
target="_blank"
outline
color="red"