Commit 0430ac9a by xuyl

111

1 parent 0c37b2e9
......@@ -120,7 +120,7 @@ const staticRoutes = Object.freeze([{
},
{
name: 'crowdDetail',
path: '/crowdManage/crowdDetail/:id/:type',
path: '/crowdManage/crowdDetail:id',
component: resolve => require([`@/views/crowdManage/crowdDetail.vue`], resolve),
meta: {}
},
......
......@@ -118,7 +118,7 @@ export default {
btnClick(type, data) {
const crowdType = this.activeName == 'first' ? 1 : 2
if (type == 'detail') {
this.$router.push(`/crowdManage/crowdDetail/${data.crowdId}/${crowdType}`)
this.$router.push(`/crowdManage/crowdDetail/${data.crowdId}?crowdType`)
}
if (type == 'view') {
this.$router.push(`/clientDataOverview/group/${data.crowdId}/${crowdType}`)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!