Fix receipt alert when add, remove photo
This commit is contained in:
@@ -136,7 +136,6 @@ export default {
|
||||
this.isDisplayPhoto = true;
|
||||
this.selectPhoto = value;
|
||||
this.fileresit_id = value.id;
|
||||
console.log(this.fileresit_id);
|
||||
},
|
||||
closePhotoModal() {
|
||||
this.isDisplayPhoto = false;
|
||||
@@ -159,7 +158,7 @@ export default {
|
||||
this.isDisplayPhoto = false;
|
||||
this.$swal.fire({
|
||||
icon: "success",
|
||||
title: "Surat Berjaya Dipadam",
|
||||
title: "Gambar Resit Berjaya Dipadam",
|
||||
confirmButtonColor: "#344871",
|
||||
confirmButtonText: "OK",
|
||||
allowOutsideClick: false,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div v-if="isLoading" class="inline-block">
|
||||
<Skeleton height="10rem" width="20rem"></Skeleton>
|
||||
<div v-if="isLoading" class="spinner-border" role="status">
|
||||
<span class="visually-hidden">Loading...</span>
|
||||
</div>
|
||||
<Image v-else :src="dataUrl" alt="Gambar Marhun" width="250" preview>
|
||||
<template #indicator> Lihat Gambar </template>
|
||||
|
||||
Reference in New Issue
Block a user