/** * mitt 事件类型定义 * * @method openSetingsDrawer 打开布局设置弹窗 * @method restoreDefault 分栏布局,鼠标移入、移出数据显示 * @method setSendColumnsChildren 分栏布局,鼠标移入、移出菜单数据传入到 navMenu 下的菜单中 * @method setSendClassicChildren 经典布局,开启切割菜单时,菜单数据传入到 navMenu 下的菜单中 * @method getBreadcrumbIndexSetFilterRoutes 布局设置弹窗,开启切割菜单时,菜单数据传入到 navMenu 下的菜单中 * @method layoutMobileResize 浏览器窗口改变时,用于适配移动端界面显示 * @method openOrCloseSortable 布局设置弹窗,开启 TagsView 拖拽 * @method openShareTagsView 布局设置弹窗,开启 TagsView 共用 * @method onTagsViewRefreshRouterView tagsview 刷新界面 * @method onCurrentContextmenuClick tagsview 右键菜单每项点击时 * @method refreshDictType 刷新字典类型 * @method refreshDict 刷新字典 * @method refreshOrg 刷新部门 * @method refreshApi 刷新接口 * @method refreshPermission 刷新权限 * @method refreshRole 刷新角色 * @method refreshTenant 刷新租户 * @method refreshUser 刷新用户 * @method refreshView 刷新视图 * @method refreshProject 刷新項目 * @method refreshNotice 刷新公告 * @method refreshProjectLink 刷新推广码 * @method refreshProjectPrice 刷新项目价格 * @method refreshTenantProjectPrice 刷新平台项目价格 * @method refreshCompanyDraw 刷新公司抽成 * @method refreshProjectStat 刷新项目统计 * @method refreshBanner 刷新轮播图 * @method refreshKuaKeInfo 刷新夸克提交申请列表 */ declare type MittType = { openSetingsDrawer?: string restoreDefault?: string setSendColumnsChildren: T setSendClassicChildren: T getBreadcrumbIndexSetFilterRoutes?: string layoutMobileResize: T openOrCloseSortable?: string openShareTagsView?: string onTagsViewRefreshRouterView?: T onCurrentContextmenuClick?: T refreshDictType?: T refreshDict?: T refreshOrg?: T refreshApi?: T refreshPermission?: T refreshRole?: T refreshTenant?: T refreshPkg?: T refreshUser?: T refreshView?: T refreshFile?: T refreshProject?: T refreshNotice?: T refreshProjectLink?: T refreshProjectPrice?: T refreshCompanyDraw?: T refreshProjectStat?: T refreshBanner?: T refreshKuaKeInfo?: T refreshTenantProjectPrice?:T } // mitt 参数类型定义 declare type LayoutMobileResize = { layout: string clientWidth: number } // mitt 参数菜单类型 declare type MittMenu = { children: RouteRecordRaw[] item?: RouteItem }