advint-user-admin
Version:
开箱即用的后台管理基础用户系统组件
37 lines (36 loc) • 1.32 kB
TypeScript
import { RouteLocationNormalized } from 'vue-router';
declare const _default: {
/**
* 刷新当前tab页签
* @param obj 标签对象
*/
refreshPage(obj?: RouteLocationNormalized): Promise<void>;
closeOpenPage(obj: RouteLocationNormalized): void;
closePage(obj?: RouteLocationNormalized): Promise<{
visitedViews: RouteLocationNormalized[];
cachedViews: string[];
} | any>;
closeAllPage(): Promise<{
visitedViews: RouteLocationNormalized[];
cachedViews: string[];
}>;
closeLeftPage(obj?: RouteLocationNormalized): Promise<import('vue-router').RouteLocationNormalizedGeneric[]>;
closeRightPage(obj?: RouteLocationNormalized): Promise<import('vue-router').RouteLocationNormalizedGeneric[]>;
closeOtherPage(obj?: RouteLocationNormalized): Promise<{
visitedViews: RouteLocationNormalized[];
cachedViews: string[];
}>;
/**
* 打开tab页签
* @param url 路由地址
* @param title 标题
* @param query 参数
*/
openPage(url: string, title?: string, query?: any): Promise<void | import('vue-router').NavigationFailure | undefined>;
/**
* 修改tab页签
* @param obj 标签对象
*/
updatePage(obj: RouteLocationNormalized): void;
};
export default _default;