Files
school-developer/src/api/asset/loading.ts
2026-01-16 18:24:09 +08:00

17 lines
230 B
TypeScript

import { NextLoading } from '/@/utils/loading';
/**
* 显示加载动画
*/
export const showLoading = () => {
NextLoading.start();
};
/**
* 隐藏加载动画
*/
export const hideLoading = () => {
NextLoading.done();
};