fix: typo

This commit is contained in:
Methapon Metanipat 2024-10-29 11:53:08 +07:00
parent 7ef44227b9
commit 5be3a05bc4

View file

@ -1,21 +1,18 @@
<script setup lang="ts">
import { QSelect } from 'quasar';
import { onMounted, reactive, ref } from 'vue';
import { dateFormat, parseAndFormatDate } from 'src/utils/datetime';
import useAddressStore, {
District,
Province,
SubDistrict,
} from 'stores/address';
import { useI18n } from 'vue-i18n';
import { selectFilterOptionRefMod } from 'stores/utils';
import useOptionStore from 'stores/options';
import { watch } from 'vue';
import DatePicker from '../shared/DatePicker.vue';
const optionStore = useOptionStore();
const { locale } = useI18n();
const adrressStore = useAddressStore();
const addressStore = useAddressStore();
const addrOptions = reactive<{
provinceOps: Province[];
@ -51,7 +48,7 @@ defineProps<{
}>();
async function fetchProvince() {
const result = await adrressStore.fetchProvince();
const result = await addressStore.fetchProvince();
if (result) addrOptions.provinceOps = result;
}