This commit is contained in:
gaoshuaixing
2020-12-18 15:37:12 +08:00
parent ed01956e26
commit 5219d33c39
3 changed files with 4 additions and 4 deletions

View File

@@ -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>' }
}
]
},

View File

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

View File

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