delete const $q = useQuasar(); .ts

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-06-06 13:50:04 +07:00
parent 1927870302
commit 60bda24d1d
5 changed files with 17 additions and 78 deletions

View file

@ -1,13 +1,7 @@
import { defineStore } from "pinia";
import { useQuasar } from "quasar";
import http from "@/plugins/http";
import config from "@/app.config";
import { useCounterMixin } from "@/stores/mixin";
const $q = useQuasar();
const mixin = useCounterMixin();
const { messageError } = mixin;
export const useRegistryDataStore = defineStore("RegistryDataStoreMain", () => {
async function getPathUploadFlie(
@ -27,7 +21,7 @@ export const useRegistryDataStore = defineStore("RegistryDataStoreMain", () => {
);
return res.data;
} catch (err) {
messageError($q, err);
console.log(err);
}
}

View file

@ -6,7 +6,6 @@ import { useCounterMixin } from "@/stores/mixin";
import type { DataOption } from "@/modules/10_registry/interface/index/Main";
const $q = useQuasar();
const mixin = useCounterMixin();
const {} = mixin;