fix Vue warn

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-06-05 15:11:23 +07:00
parent 5c06f82031
commit faf9c4c7f3
4 changed files with 14 additions and 26 deletions

View file

@ -1,13 +1,10 @@
import axios from "axios";
import config from "@/app.config";
import { useQuasar } from "quasar";
import { useCounterMixin } from "@/stores/mixin";
const $q = useQuasar();
const mixin = useCounterMixin();
const { showLoader, hideLoader, messageError } = mixin;
const { showLoader, hideLoader } = mixin;
async function genReportXLSX(
data: any,
@ -53,7 +50,7 @@ async function genReportXLSX(
}
})
.catch((e) => {
messageError($q, e);
console.log(e);
})
.finally(() => {
hideLoader();