Commit dd98b0f3 authored by 郭志伟's avatar 郭志伟

fix: 路由加*处理

parent f0b11b61
...@@ -57,6 +57,10 @@ const routes = [ ...@@ -57,6 +57,10 @@ const routes = [
path: "/introduction", path: "/introduction",
name: "Introduction", name: "Introduction",
component: () => import("../views/Introduction/index.vue") component: () => import("../views/Introduction/index.vue")
},
{
path: "*",
redirect: "/goods"
} }
]; ];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment