|
@@ -163,12 +163,12 @@ export default {
|
|
|
},
|
|
|
goPage(val, typeName) {
|
|
|
//当singlePeople 为false时跳进双人选择的界面
|
|
|
- if (this.singlePeople) {
|
|
|
+ if (this.singlePeople=='0') {
|
|
|
this.$router.push({
|
|
|
path: val,
|
|
|
query: { gameType: typeName, single: this.singlePeople },
|
|
|
});
|
|
|
- } else {
|
|
|
+ } else if(this.singlePeople=='1') {
|
|
|
this.$router.push({
|
|
|
path: "/menu/animationDouble",
|
|
|
query: { gameType: typeName, single: this.singlePeople },
|