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

@ -13,7 +13,12 @@ declare global {
/** Notification instance */
$notification?: import('naive-ui').NotificationProviderInst;
/** Content loading */
$loading?: import('@sa/hooks').LoadingApiInst;
$loading?: {
loading: import('vue').Ref<boolean>;
description: import('vue').Ref<string>;
startLoading: (description?: string) => void;
endLoading: () => void;
};
}
interface ViewTransition {