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>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import Vuex from 'vuex'
|
||||
// import Vue from 'vue'
|
||||
import auth from './modules/auth'
|
||||
import cart from './modules/cart'
|
||||
import lelong_id from './modules/lelongId'
|
||||
|
||||
@@ -9,6 +10,7 @@ import lelong_id from './modules/lelongId'
|
||||
//Create store
|
||||
export default new Vuex.Store({
|
||||
modules: {
|
||||
auth,
|
||||
cart,
|
||||
lelong_id
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user