修改2级路由。

master
kevin jiang 6 years ago
parent 45cbcef58f
commit a3c2ec309b

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

@ -46,8 +46,6 @@ const router = new Router({
path: '/shop/increase',
name: 'ShopIncrease',
component: ShopIncrease
}
]
},
{
path: '/customer/data',
@ -55,6 +53,8 @@ const router = new Router({
component: CustomerData,
}
]
}
]
});
/*
* 跳转前的处理事件

Loading…
Cancel
Save