修改打包报错问题
This commit is contained in:
16
src/api/asset/loading.ts
Normal file
16
src/api/asset/loading.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import { NextLoading } from '/@/utils/loading';
|
||||
|
||||
/**
|
||||
* 显示加载动画
|
||||
*/
|
||||
export const showLoading = () => {
|
||||
NextLoading.start();
|
||||
};
|
||||
|
||||
/**
|
||||
* 隐藏加载动画
|
||||
*/
|
||||
export const hideLoading = () => {
|
||||
NextLoading.done();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user