gaoshuaixing 5 年之前
父節點
當前提交
5219d33c39
共有 3 個文件被更改,包括 4 次插入4 次删除
  1. 2 2
      frontend/src/config/router.config.js
  2. 1 1
      frontend/src/views/Contenta.vue
  3. 1 1
      frontend/src/views/Contentb.vue

+ 2 - 2
frontend/src/config/router.config.js

@@ -10,12 +10,12 @@ export const constantRouterMap = [
         {
           path: 'testc',
           name: 'testc',
-          component: { template: '<div>ccc</div>' }
+          component: { template: '<div>这是设置内一</div>' }
         },
         {
           path: '/testd',
           name: 'testd',
-          component: { template: '<div>ddd</div>' }
+          component: { template: '<div>这是设置内二</div>' }
         }
       ]
     },

+ 1 - 1
frontend/src/views/Contenta.vue

@@ -1,6 +1,6 @@
 <template>
   <div class="hello">
-    <h1>aaaaa</h1>
+    <h1>这是首页内一</h1>
   </div>
 </template>
 

+ 1 - 1
frontend/src/views/Contentb.vue

@@ -1,6 +1,6 @@
 <template>
   <div class="hello">
-    <h1>bbbbb</h1>
+    <h1>这是首页内二</h1>
   </div>
 </template>