feat: 更新路由重定向至 riwa 页面并添加 riwa 视图组件

This commit is contained in:
2025-12-12 01:27:04 +07:00
parent 7d7c85f669
commit f0bffb821c
2 changed files with 3 additions and 3 deletions

View File

@@ -4,15 +4,15 @@ import { createRouter, createWebHistory } from "@ionic/vue-router";
const routes: Array<RouteRecordRaw> = [ const routes: Array<RouteRecordRaw> = [
{ {
path: "/", path: "/",
redirect: "/layout/home", redirect: "/layout/riwa",
}, },
{ {
path: "/layout", path: "/layout",
component: () => import("@/components/layout/default.vue"), component: () => import("@/components/layout/default.vue"),
children: [ children: [
{ {
path: "home", path: "riwa",
component: () => import("@/views/home/index.vue"), component: () => import("@/views/riwa/index.vue"),
}, },
{ {
path: "market", path: "market",