|
|
@@ -22,13 +22,13 @@ if (store.state.loginStatus) {
|
|
|
gameUrlQuery = `?userId=${store.state.userInfo.id}&token=${store.state.token}`
|
|
|
}
|
|
|
const gameUrlMap = {
|
|
|
- AntibodyBattle: `unity/antibody-battle/index.html#/`,
|
|
|
- DisasterRelief: `unity/disaster-relief/index.html#/`,
|
|
|
- EnviromentProtection: `unity/enviroment-protection/index.html#/`,
|
|
|
- LostChildren: `unity/lost-children/index.html#/`,
|
|
|
+ AntibodyBattle: `unity/antibody-battle/index.html${gameUrlQuery}#/`,
|
|
|
+ DisasterRelief: `unity/disaster-relief/index.html${gameUrlQuery}#/`,
|
|
|
+ EnviromentProtection: `unity/enviroment-protection/index.html${gameUrlQuery}#/`,
|
|
|
+ LostChildren: `unity/lost-children/index.html${gameUrlQuery}#/`,
|
|
|
}
|
|
|
|
|
|
-const gameUrl = gameUrlMap[route.query.gameName] + gameUrlQuery
|
|
|
+const gameUrl = gameUrlMap[route.query.gameName]
|
|
|
|
|
|
</script>
|
|
|
|