mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-12-07 16:56:23 +08:00
refactor(projects): 抽离格式化相关依赖配置
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import type { RouteRecordNormalized, RouteLocationNormalizedLoaded } from 'vue-router';
|
||||
import type { RouteLocationNormalizedLoaded, RouteRecordNormalized } from 'vue-router';
|
||||
import { EnumStorageKey } from '@/enum';
|
||||
import { setLocal, getLocal } from '@/utils';
|
||||
import { getLocal, setLocal } from '@/utils';
|
||||
|
||||
/**
|
||||
* 根据vue路由获取tab路由
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
import type { Router, RouteLocationNormalizedLoaded } from 'vue-router';
|
||||
import type { RouteLocationNormalizedLoaded, Router } from 'vue-router';
|
||||
import { defineStore } from 'pinia';
|
||||
import { useRouterPush } from '@/composables';
|
||||
import { useThemeStore } from '../theme';
|
||||
import {
|
||||
getTabRouteByVueRoute,
|
||||
isInTabRoutes,
|
||||
clearTabRoutes,
|
||||
getIndexInTabRoutes,
|
||||
getIndexInTabRoutesByRouteName,
|
||||
setTabRoutes,
|
||||
getTabRouteByVueRoute,
|
||||
getTabRoutes,
|
||||
clearTabRoutes
|
||||
isInTabRoutes,
|
||||
setTabRoutes
|
||||
} from './helpers';
|
||||
|
||||
interface TabState {
|
||||
|
||||
Reference in New Issue
Block a user