@@ -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,6 +1,6 @@
<template>
<div class="hello">
- <h1>aaaaa</h1>
+ <h1>这是首页内一</h1>
</div>
</template>
- <h1>bbbbb</h1>
+ <h1>这是首页内二</h1>