chore: install prettier

This commit is contained in:
Viet An
2026-05-04 15:22:27 +07:00
parent 93d29ca7d8
commit bd58e2b847
267 changed files with 22950 additions and 13581 deletions

View File

@@ -1,49 +1,49 @@
<script setup>
import Modal from '@/components/Modal.vue';
import Modal from "@/components/Modal.vue";
const showLayerSettingListModal = ref(null);
const showLayerSettingSaveModal = ref(null);
function openLayerSettingList() {
showLayerSettingListModal.value = {
component: 'viewer/LayerSettingList',
title: 'Chọn thiết lập layer',
width: '400px',
height: 'auto',
component: "viewer/LayerSettingList",
title: "Chọn thiết lập layer",
width: "400px",
height: "auto",
};
}
function openLayerSettingSave() {
showLayerSettingSaveModal.value = {
component: 'viewer/LayerSettingSave',
title: 'Lưu thiết lập layer',
width: '400px',
height: 'auto',
component: "viewer/LayerSettingSave",
title: "Lưu thiết lập layer",
width: "400px",
height: "auto",
};
}
</script>
<template>
<div class="is-flex is-gap-1">
<button
class="button is-small p-2 is-white"
<button
class="button is-small p-2 is-white"
title="Mở thiết lập"
@click="openLayerSettingList"
>
<SvgIcon v-bind="{ name: 'folder.svg', type: 'primary', size: 20 }" />
</button>
<button
class="button is-small p-2 is-white"
<button
class="button is-small p-2 is-white"
title="Lưu thiết lập"
@click="openLayerSettingSave"
>
<SvgIcon v-bind="{ name: 'save.svg', type: 'primary', size: 20 }" />
</button>
</div>
<Modal
<Modal
v-bind="showLayerSettingListModal"
v-if="showLayerSettingListModal"
@close="showLayerSettingListModal = null"
/>
<Modal
<Modal
v-bind="showLayerSettingSaveModal"
v-if="showLayerSettingSaveModal"
@close="showLayerSettingSaveModal = null"
@@ -61,5 +61,5 @@ function openLayerSettingSave() {
display: flex;
padding: 0.5rem;
align-items: center;
}
</style>
}
</style>