refactor: ♻️ 去除CURD静态路由

This commit is contained in:
cshaptx4869
2024-05-10 16:51:52 +08:00
parent 804811185a
commit e326176e3b
2 changed files with 9 additions and 17 deletions

View File

@@ -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",

View File

@@ -1,5 +1,14 @@
<template>
<div class="app-container">
<el-link
href="https://gitee.com/youlaiorg/vue3-element-admin/blob/master/src/views/demo/curd/index.vue"
type="primary"
target="_blank"
class="mb-10"
>
示例源码 请点击>>>>
</el-link>
<!-- 搜索 -->
<page-search
ref="searchRef"