feat: 添加 useRouterBack 组合函数,更新相关组件以支持返回功能,优化 API 类型定义,更新依赖版本
This commit is contained in:
@@ -1,20 +1,6 @@
|
||||
import type { RouteRecordRaw } from "vue-router";
|
||||
|
||||
const routes: Array<RouteRecordRaw> = [
|
||||
// {
|
||||
// path: "/auth",
|
||||
// component: () => import("@/views/auth/index.vue"),
|
||||
// children: [
|
||||
// {
|
||||
// path: "/auth/login",
|
||||
// component: () => import("@/views/auth/login/index.vue"),
|
||||
// },
|
||||
// {
|
||||
// path: "/auth/signup",
|
||||
// component: () => import("@/views/auth/signup/index.vue"),
|
||||
// },
|
||||
// ],
|
||||
// },
|
||||
{
|
||||
path: "/auth/login",
|
||||
component: () => import("@/views/auth/login/index.vue"),
|
||||
|
||||
Reference in New Issue
Block a user