gaoshuaixing 5 years ago
parent
commit
5219d33c39

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

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

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

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

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

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