delete const $q = useQuasar(); .ts
This commit is contained in:
parent
af4bae0b8a
commit
685191c74b
7 changed files with 51 additions and 84 deletions
|
|
@ -7,11 +7,9 @@ import { useCounterMixin } from "@/stores/mixin";
|
|||
import type { DataOption } from "@/modules/09_leave/interface/index/Main";
|
||||
import http from "@/plugins/http";
|
||||
import config from "@/app.config";
|
||||
import { useQuasar } from "quasar";
|
||||
|
||||
const $q = useQuasar();
|
||||
const mixin = useCounterMixin();
|
||||
const { date2Thai, messageError, showLoader, hideLoader } = mixin;
|
||||
const { date2Thai, showLoader, hideLoader } = mixin;
|
||||
|
||||
export const useSpecialTimeStore = defineStore("LeaveSpecialTime", () => {
|
||||
const rows = ref<any[]>([]);
|
||||
|
|
@ -93,7 +91,7 @@ export const useSpecialTimeStore = defineStore("LeaveSpecialTime", () => {
|
|||
});
|
||||
})
|
||||
.catch((e) => {
|
||||
messageError($q, e);
|
||||
console.log(e);
|
||||
})
|
||||
.finally(() => {
|
||||
hideLoader();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue