mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-23 23:39:47 +08:00
feat: 封装下载hooks
This commit is contained in:
@ -9,3 +9,4 @@ export { useBoolean, useLoading, useCountDown, useContext, useSvgIconRender, use
|
||||
|
||||
export * from './use-signal';
|
||||
export * from './use-table';
|
||||
export type { LoadingApiInst } from './use-loading';
|
||||
|
@ -1,5 +1,12 @@
|
||||
import type { Ref } from 'vue';
|
||||
import useBoolean from './use-boolean';
|
||||
|
||||
export interface LoadingApiInst {
|
||||
loading: Ref<boolean>;
|
||||
startLoading: () => void;
|
||||
endLoading: () => void;
|
||||
}
|
||||
|
||||
/**
|
||||
* Loading
|
||||
*
|
||||
|
Reference in New Issue
Block a user