提交 e5a84b4d 编写于 作者: zcdtk's avatar zcdtk

添加动画加载效果,同时避免 vant 冲突

上级 32e6ac2e
import { Http, Util, Verify } from '@/ibiz-core/utils';
import { Http, Util, Verify, Loading } from '@/ibiz-core/utils';
import { AppDrawer, AppModal, ViewTool, Notice } from '@/utils';
import { IonPage } from './components/ion-page/ion-page';
import { AppEmbedView } from './components/app-embed-view/app-embed-view';
......@@ -17,6 +17,7 @@ export const AppComponents = {
v.prototype.$appmodal = AppModal.getInstance();
v.prototype.$viewTool = ViewTool.getInstance();
v.prototype.$notice = Notice.getInstance();
v.prototype.$apploading = Loading;
v.component('ion-page', IonPage);
v.component('embed-view', AppEmbedView);
v.component('app-list-menu', () => import('@/components/app-list-menu/app-list-menu.vue'));
......
import Vue from "vue";
export declare interface Loading {
/**
* 显示
*
* @param {(any | string)} [message]
* @memberof Loading
*/
show(message?: any | string): void
/**
* 隐藏
*
* @memberof Loading
*/
hidden(): void;
}
declare module "vue/types/vue" {
interface Vue {
/**
* 加载动画
*
* @type {Loading}
* @memberof Vue
*/
$apploading: Loading;
}
}
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册