Skip to content

Commit

Permalink
fix 优化路由筛选函数
Browse files Browse the repository at this point in the history
  • Loading branch information
jinmao88 committed Aug 29, 2023
1 parent d17c708 commit d3aa130
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/admin/src/store/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,3 +203,7 @@ export const useAuthStore = defineStore('app-auth-store', {
},
},
})
// Need to be used outside the setup
export function useAuthStoreWithout() {
return useAuthStore()
}

0 comments on commit d3aa130

Please sign in to comment.