refactor: use alias

This commit is contained in:
Methapon2001 2024-08-09 15:06:41 +07:00
parent f9494dc845
commit be7a036b8d
31 changed files with 77 additions and 77 deletions

View file

@ -9,13 +9,13 @@ import { useI18n } from 'vue-i18n';
import useLoader from 'stores/loader';
import ProfileMenu from './ProfileMenu.vue';
import DrawerComponent from './DrawerComponent.vue';
import useUserStore from 'src/stores/user';
import useUserStore from 'stores/user';
import { CanvasComponent, FormDialog } from 'components/index';
import useOptionStore from 'src/stores/options';
import { dialog } from 'src/stores/utils';
import useOptionStore from 'stores/options';
import { dialog } from 'stores/utils';
import { setLocale } from 'src/utils/datetime';
import useUtilsStore from 'src/stores/utils';
import useMyBranchStore from 'src/stores/my-branch';
import useUtilsStore from 'stores/utils';
import useMyBranchStore from 'stores/my-branch';
const useMyBranch = useMyBranchStore();
const { fetchListMyBranch } = useMyBranch;

View file

@ -1,7 +1,7 @@
<script lang="ts" setup>
import { computed, onMounted, onUnmounted, ref, watch } from 'vue';
import { useQuasar } from 'quasar';
// import useOption from 'src/stores/option';
// import useOption from 'stores/option';
// const optionStore = useOption();
import { getName, getRealm, getRole, isLoggedIn } from 'src/services/keycloak';