Commit 0430ac9a by xuyl

111

1 parent 0c37b2e9
...@@ -120,7 +120,7 @@ const staticRoutes = Object.freeze([{ ...@@ -120,7 +120,7 @@ const staticRoutes = Object.freeze([{
}, },
{ {
name: 'crowdDetail', name: 'crowdDetail',
path: '/crowdManage/crowdDetail/:id/:type', path: '/crowdManage/crowdDetail:id',
component: resolve => require([`@/views/crowdManage/crowdDetail.vue`], resolve), component: resolve => require([`@/views/crowdManage/crowdDetail.vue`], resolve),
meta: {} meta: {}
}, },
......
...@@ -118,7 +118,7 @@ export default { ...@@ -118,7 +118,7 @@ export default {
btnClick(type, data) { btnClick(type, data) {
const crowdType = this.activeName == 'first' ? 1 : 2 const crowdType = this.activeName == 'first' ? 1 : 2
if (type == 'detail') { if (type == 'detail') {
this.$router.push(`/crowdManage/crowdDetail/${data.crowdId}/${crowdType}`) this.$router.push(`/crowdManage/crowdDetail/${data.crowdId}?crowdType`)
} }
if (type == 'view') { if (type == 'view') {
this.$router.push(`/clientDataOverview/group/${data.crowdId}/${crowdType}`) 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!