UNPKG

advint-user-admin

Version:

开箱即用的后台管理基础用户系统组件

44 lines (43 loc) 2.1 kB
declare const _default: { refreshPage(obj?: import('vue-router').RouteLocationNormalized): Promise<void>; closeOpenPage(obj: import('vue-router').RouteLocationNormalized): void; closePage(obj?: import('vue-router').RouteLocationNormalized): Promise<{ visitedViews: import('vue-router').RouteLocationNormalized[]; cachedViews: string[]; } | any>; closeAllPage(): Promise<{ visitedViews: import('vue-router').RouteLocationNormalized[]; cachedViews: string[]; }>; closeLeftPage(obj?: import('vue-router').RouteLocationNormalized): Promise<import('vue-router').RouteLocationNormalizedGeneric[]>; closeRightPage(obj?: import('vue-router').RouteLocationNormalized): Promise<import('vue-router').RouteLocationNormalizedGeneric[]>; closeOtherPage(obj?: import('vue-router').RouteLocationNormalized): Promise<{ visitedViews: import('vue-router').RouteLocationNormalized[]; cachedViews: string[]; }>; openPage(url: string, title?: string, query?: any): Promise<void | import('vue-router').NavigationFailure | undefined>; updatePage(obj: import('vue-router').RouteLocationNormalized): void; msg(content: any): void; msgError(content: any): void; msgSuccess(content: any): void; msgWarning(content: any): void; alert(content: any): void; alertError(content: any): void; alertSuccess(content: any): void; alertWarning(content: any): void; notify(content: any): void; notifyError(content: any): void; notifySuccess(content: any): void; notifyWarning(content: any): void; confirm(content: any): Promise<import('element-plus').MessageBoxData>; prompt(content: any): Promise<import('element-plus').MessageBoxData>; loading(content: string): void; closeLoading(): void; hasPermi(permission: string): boolean; hasPermiOr(permissions: string[]): boolean; hasPermiAnd(permissions: string[]): boolean; hasRole(role: string): boolean; hasRoleOr(roles: string[]): boolean; hasRoleAnd(roles: string[]): boolean; }; export default _default;