修改前端导入规范.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import type { EChartsOption } from 'echarts';
|
||||
import { computed } from 'vue';
|
||||
import { EChartsOption } from 'echarts';
|
||||
import { useAppStore } from '@/store';
|
||||
|
||||
// for code hints
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import type { FavoriteType } from '@/api/meta/favorite';
|
||||
import { Message } from '@arco-design/web-vue';
|
||||
import { FavoriteType, addFavorite, cancelFavorite } from '@/api/meta/favorite';
|
||||
import { addFavorite, cancelFavorite } from '@/api/meta/favorite';
|
||||
|
||||
export default function useFavorite(type: FavoriteType) {
|
||||
const toggle = async (record: any, id: number, cancelField = 'favorite') => {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { RouteLocationNormalized, RouteRecordNormalized, RouteRecordRaw } from 'vue-router';
|
||||
import type { RouteLocationNormalized, RouteRecordNormalized, RouteRecordRaw } from 'vue-router';
|
||||
import { useMenuStore, useUserStore } from '@/store';
|
||||
import { STATUS_ROUTER_LIST, WHITE_ROUTER_LIST } from '@/router/constants';
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import { ref, UnwrapRef } from 'vue';
|
||||
import { AxiosResponse } from 'axios';
|
||||
import { HttpResponse } from '@/api/interceptor';
|
||||
import type { AxiosResponse } from 'axios';
|
||||
import type { HttpResponse } from '@/api/interceptor';
|
||||
import type { UnwrapRef } from 'vue';
|
||||
import { ref } from 'vue';
|
||||
import useLoading from './loading';
|
||||
|
||||
export default function useRequest<T>(
|
||||
|
||||
Reference in New Issue
Block a user