feat: 封装全屏加载

This commit is contained in:
xlsea
2024-09-05 11:54:54 +08:00
parent 0c3ea2dc86
commit f2912f64fc
6 changed files with 50 additions and 17 deletions

View File

@ -9,4 +9,3 @@ export { useBoolean, useLoading, useCountDown, useContext, useSvgIconRender, use
export * from './use-signal';
export * from './use-table';
export type { LoadingApiInst } from './use-loading';

View File

@ -1,12 +1,5 @@
import type { Ref } from 'vue';
import useBoolean from './use-boolean';
export interface LoadingApiInst {
loading: Ref<boolean>;
startLoading: () => void;
endLoading: () => void;
}
/**
* Loading
*