mirror of
https://gitee.com/dromara/electron-egg.git
synced 2026-05-14 11:52:07 +08:00
1
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="hello">
|
||||
<h1>bbbbb</h1>
|
||||
<h1>这是首页内二</h1>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user