feat: support to refresh the tab page by route name (#6153)
Co-authored-by: anyup <anyupxing@163.com>
This commit is contained in:
@@ -41,8 +41,8 @@ export function useTabs() {
|
||||
await tabbarStore.toggleTabPin(tab || route);
|
||||
}
|
||||
|
||||
async function refreshTab() {
|
||||
await tabbarStore.refresh(router);
|
||||
async function refreshTab(name?: string) {
|
||||
await tabbarStore.refresh(name || router);
|
||||
}
|
||||
|
||||
async function openTabInNewWindow(tab?: RouteLocationNormalized) {
|
||||
|
Reference in New Issue
Block a user