diff --git a/src/components/mock/api_block.vue b/src/components/mock/api_block.vue
new file mode 100644
index 0000000..5176044
--- /dev/null
+++ b/src/components/mock/api_block.vue
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
diff --git a/src/layout/components/PageAside.vue b/src/layout/components/PageAside.vue
index daf92f4..f1b7309 100644
--- a/src/layout/components/PageAside.vue
+++ b/src/layout/components/PageAside.vue
@@ -5,22 +5,33 @@ import {
Location,
Setting,
} from '@element-plus/icons-vue'
+import {useRoute} from "vue-router";
+
+const route = useRoute()
+
-
+
鼎新工具集
@@ -29,4 +40,4 @@ import {
\ No newline at end of file
+
diff --git a/src/layout/index.vue b/src/layout/index.vue
index 2f3f55b..741c9d6 100644
--- a/src/layout/index.vue
+++ b/src/layout/index.vue
@@ -16,7 +16,7 @@ import PageAside from "@/layout/components/PageAside.vue";
-
+
@@ -31,4 +31,4 @@ el-container {
margin: 0;
height: 100%;
}
-
\ No newline at end of file
+
diff --git a/src/router/index.js b/src/router/index.js
index 3af52d1..0993696 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -3,12 +3,24 @@ import Layout from '@/layout/index.vue'
const routes = [
{
- path: '/update',
+ path: '/',
name: 'Home',
component: Layout,
+ children: [
+ {
+ path: 'update',
+ name: 'Update',
+ component: () => import('@/views/update/index.vue')
+ },
+ {
+ path: 'mock',
+ name: 'Mock',
+ component: () => import('@/views/mock/index.vue')
+ }
+ ]
}
]
const router = createRouter({history: createWebHashHistory(), routes})
-export default router
\ No newline at end of file
+export default router
diff --git a/src/views/mock/index.vue b/src/views/mock/index.vue
new file mode 100644
index 0000000..3ad5d4b
--- /dev/null
+++ b/src/views/mock/index.vue
@@ -0,0 +1,12 @@
+
+
+
+
+ 接口
+
+
+