学习创建app框架。

This commit is contained in:
2023-01-06 23:19:26 +08:00
parent c3ebdbf7c9
commit 0b79a94bda
29 changed files with 147 additions and 10 deletions

View File

@@ -2,7 +2,7 @@
* @Author: Kane
* @Date: 2022-12-14 15:12:46
* @LastEditors: Kane
* @LastEditTime: 2023-01-06 16:44:57
* @LastEditTime: 2023-01-06 19:06:51
* @FilePath: \admin_system\src\router\index.js
* @Description: 定义应用路由配置
*
@@ -68,12 +68,12 @@ const routes = [
component: () => import("../views/news/News.vue"),
},
{
path: "/newsIndex",
name: "NewsIndex",
path: "/newsedit",
name: "NewsEdit",
meta: {
title: "信息编辑"
},
component: () => import("../views/news/News.vue"),
component: () => import("../views/news/NewsEdit.vue"),
},
],
component: () => import("../layout/Index.vue"),