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