From e326176e3bc78298785156a08fc8bd35ea11d81d Mon Sep 17 00:00:00 2001 From: cshaptx4869 <994774638@qq.com> Date: Fri, 10 May 2024 16:51:52 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20:recycle:=20=E5=8E=BB=E9=99=A4CURD?= =?UTF-8?q?=E9=9D=99=E6=80=81=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.ts | 17 ----------------- src/views/demo/curd/index.vue | 9 +++++++++ 2 files changed, 9 insertions(+), 17 deletions(-) diff --git a/src/router/index.ts b/src/router/index.ts index 671765dd..b67fdf5f 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -54,23 +54,6 @@ export const constantRoutes: RouteRecordRaw[] = [ ], }, - { - path: "/curd", - component: Layout, - meta: { - alwaysShow: false, - }, - children: [ - { - path: "index", - component: () => import("@/views/demo/curd/index.vue"), - meta: { - title: "增删改查", - }, - }, - ], - }, - // 外部链接 // { // path: "/external-link", diff --git a/src/views/demo/curd/index.vue b/src/views/demo/curd/index.vue index d4998e9a..4130aa0d 100644 --- a/src/views/demo/curd/index.vue +++ b/src/views/demo/curd/index.vue @@ -1,5 +1,14 @@