feat: 添加 useRouterBack 组合函数,更新相关组件以支持返回功能,优化 API 类型定义,更新依赖版本

This commit is contained in:
2025-12-22 04:43:46 +07:00
parent 00f27bf50a
commit de18ebf370
14 changed files with 227 additions and 49 deletions

View File

@@ -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"),