feat: 更新路由重定向至 riwa 页面并添加 riwa 视图组件
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user