guhongwei преди 2 години
родител
ревизия
21c9aa3457
променени са 2 файла, в които са добавени 8 реда и са изтрити 2 реда
  1. 7 1
      src/router/module/common.ts
  2. 1 1
      src/views/homeIndex copy.vue

+ 7 - 1
src/router/module/common.ts

@@ -1 +1,7 @@
-export default [];
+export default [
+  {
+    path: '/test',
+    meta: { title: '测试' },
+    component: () => import('@/views/testIndex.vue')
+  }
+];

+ 1 - 1
src/views/homeIndex copy.vue

@@ -1,5 +1,5 @@
 <template>
-  <div id="homeIndex">
+  <div id="testIndex">
     <el-row>
       <el-col :span="24" class="main animate__animated animate__backInRight">
         <el-col :span="12" class="one">