Fix receipt alert when add, remove photo

This commit is contained in:
Amir
2023-01-03 10:30:13 +08:00
parent d437846e3f
commit dc19245db1
3 changed files with 5 additions and 4 deletions
+1 -2
View File
@@ -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,
+2 -2
View File
@@ -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>