|
@@ -73,20 +73,22 @@ export default {
|
|
|
},
|
|
|
handleClickReceive(val){
|
|
|
// window.location.href = val;
|
|
|
-
|
|
|
- this.$router.push({
|
|
|
- path: '/home/festiveEvents/answerGame',
|
|
|
- query: {
|
|
|
- actId:val.actId
|
|
|
- }
|
|
|
- });
|
|
|
- // this.$router.push({
|
|
|
- // path: '/home/festiveEvents/game',
|
|
|
- // query: {
|
|
|
- // activityUrl: val.activityUrl,
|
|
|
- // actId:val.actId
|
|
|
- // }
|
|
|
- // });
|
|
|
+ if(val.activityUrl){
|
|
|
+ this.$router.push({
|
|
|
+ path: '/home/festiveEvents/game',
|
|
|
+ query: {
|
|
|
+ activityUrl: val.activityUrl,
|
|
|
+ actId:val.actId
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }else{
|
|
|
+ this.$router.push({
|
|
|
+ path: '/home/festiveEvents/answerGame',
|
|
|
+ query: {
|
|
|
+ actId:val.actId
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
};
|