Commit a07e6e4a authored by “yiyousong”'s avatar “yiyousong”

perf:修改路由

parent eae28d2c
...@@ -6,6 +6,11 @@ import Layouts from "@/layouts/Layouts"; ...@@ -6,6 +6,11 @@ import Layouts from "@/layouts/Layouts";
// 路由配置 // 路由配置
const options = { const options = {
routes: [ routes: [
{
path: "/apppreview",
name: "预览页面",
component: () => import("@/pages/basicset/appmarket/AppPreview"),
},
{ {
path: "/", path: "/",
name: "首页", name: "首页",
...@@ -191,7 +196,7 @@ const options = { ...@@ -191,7 +196,7 @@ const options = {
}, },
{ {
path: "addsurfacetemplate", path: "addsurfacetemplate",
name: "新增皮肤m模板", name: "新增皮肤模板",
component: () => component: () =>
import("@/pages/basicset/surface/AddSurfaceTemplate"), import("@/pages/basicset/surface/AddSurfaceTemplate"),
meta: { invisible: true }, meta: { invisible: true },
......
...@@ -28,11 +28,6 @@ const routes = [ ...@@ -28,11 +28,6 @@ const routes = [
name: "403", name: "403",
component: () => import("@/pages/exception/403"), component: () => import("@/pages/exception/403"),
}, },
{
path: "/apppreview",
name: "预览页面",
component: () => import("@/pages/basicset/appmarket/AppPreview"),
},
]; ];
formatRoutes(routes); formatRoutes(routes);
const router = new VueRouter({ const router = new VueRouter({
......
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