feat: 更新路由重定向至 riwa 页面并添加 riwa 视图组件
This commit is contained in:
@@ -4,15 +4,15 @@ import { createRouter, createWebHistory } from "@ionic/vue-router";
|
||||
const routes: Array<RouteRecordRaw> = [
|
||||
{
|
||||
path: "/",
|
||||
redirect: "/layout/home",
|
||||
redirect: "/layout/riwa",
|
||||
},
|
||||
{
|
||||
path: "/layout",
|
||||
component: () => import("@/components/layout/default.vue"),
|
||||
children: [
|
||||
{
|
||||
path: "home",
|
||||
component: () => import("@/views/home/index.vue"),
|
||||
path: "riwa",
|
||||
component: () => import("@/views/riwa/index.vue"),
|
||||
},
|
||||
{
|
||||
path: "market",
|
||||
|
||||
Reference in New Issue
Block a user