修改2级路由。

master
kevin jiang 6 years ago
parent 45cbcef58f
commit a3c2ec309b

@ -46,7 +46,9 @@
<BreadcrumbItem>Components</BreadcrumbItem> <BreadcrumbItem>Components</BreadcrumbItem>
</Breadcrumb> </Breadcrumb>
<Card> <Card>
<div :style="{'height':mHeight + 'px'}">Content</div> <div :style="{'height':mHeight + 'px'}">
<router-view/>
</div>
</Card> </Card>
</Content> </Content>
</Layout> </Layout>

@ -46,13 +46,13 @@ const router = new Router({
path: '/shop/increase', path: '/shop/increase',
name: 'ShopIncrease', name: 'ShopIncrease',
component: ShopIncrease component: ShopIncrease
},
{
path: '/customer/data',
name: 'CustomerData',
component: CustomerData,
} }
] ]
},
{
path: '/customer/data',
name: 'CustomerData',
component: CustomerData,
} }
] ]
}); });

Loading…
Cancel
Save