mirror of
https://gitee.com/h_mo/uniapp-vue3-vite-ts-template
synced 2025-04-05 06:12:44 +08:00
12 lines
217 B
TypeScript
12 lines
217 B
TypeScript
import { Navigates } from '@/utils/router/navigates';
|
|
|
|
const navigates = new Navigates();
|
|
|
|
export function useRouter() {
|
|
return navigates;
|
|
}
|
|
|
|
export function useRoute() {
|
|
const currentPages = getCurrentPages();
|
|
}
|