แก้ไขปุ่ม download
This commit is contained in:
parent
3a1b8cdea4
commit
f33ec8fbc5
13 changed files with 438 additions and 436 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue