|
@@ -86,7 +86,8 @@ import BgImage from "../../assets/yttjbg.png";
|
86
|
86
|
|
87
|
87
|
const {
|
88
|
88
|
mapState: mapactivityState,
|
89
|
|
- mapActions: mapactivityActions
|
|
89
|
+ mapActions: mapactivityActions,
|
|
90
|
+ mapMutations,
|
90
|
91
|
} = createNamespacedHelpers("vote");
|
91
|
92
|
|
92
|
93
|
export default {
|
|
@@ -205,6 +206,9 @@ export default {
|
205
|
206
|
// })
|
206
|
207
|
},
|
207
|
208
|
methods: {
|
|
209
|
+ ...mapMutations([
|
|
210
|
+ 'resetDetail',
|
|
211
|
+ ]),
|
208
|
212
|
...mapactivityActions([
|
209
|
213
|
"getList",
|
210
|
214
|
"getTopList",
|
|
@@ -309,6 +313,8 @@ export default {
|
309
|
313
|
}
|
310
|
314
|
},
|
311
|
315
|
gotovotingdetails(memberid) {
|
|
316
|
+ this.resetDetail(memberid)
|
|
317
|
+
|
312
|
318
|
this.$router.push({
|
313
|
319
|
path: `/detail/${this.actid}/${memberid}`
|
314
|
320
|
});
|