changes
This commit is contained in:
@@ -68,17 +68,14 @@
|
||||
></Modal>
|
||||
</template>
|
||||
<script setup>
|
||||
import { computed, ref } from "vue";
|
||||
import { useNuxtApp } from "#app";
|
||||
import CustomerForm from "~/components/customer/CustomerForm.vue";
|
||||
import CustomerView from "~/components/customer/CustomerView.vue";
|
||||
import Modal from "~/components/Modal.vue";
|
||||
import ImageGallery from "~/components/media/ImageGallery.vue";
|
||||
const nuxtApp = useNuxtApp();
|
||||
const { $dialog } = nuxtApp;
|
||||
const { $dialog } = useNuxtApp();
|
||||
|
||||
const store = useStore();
|
||||
var props = defineProps({
|
||||
const props = defineProps({
|
||||
pagename: String,
|
||||
row: Object,
|
||||
application: Object,
|
||||
@@ -86,8 +83,7 @@ var props = defineProps({
|
||||
handleCustomer: Function,
|
||||
});
|
||||
|
||||
const lang = computed(() => store.lang);
|
||||
const isVietnamese = computed(() => lang.value === "vi");
|
||||
const isVietnamese = computed(() => store.lang === "vi");
|
||||
const emit = defineEmits(["modalevent", "close"]);
|
||||
var viewport = 5;
|
||||
var tabs = [
|
||||
|
||||
@@ -282,7 +282,7 @@
|
||||
</button>
|
||||
<button
|
||||
class="button is-light"
|
||||
@click="exportPdf(docid, { filename: record.code })"
|
||||
@click="$exportPdf(docid, { filename: record.code })"
|
||||
>
|
||||
In thông tin
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user