跳转页 游戏名显示中文

This commit is contained in:
yulixing 2019-09-26 14:04:52 +08:00
parent 1bc8a1e4fb
commit 881e595226

View File

@ -45,7 +45,7 @@
<el-option
v-for="(item, index) in gameList"
:key="index"
:label="item.game_name"
:label="item.game"
:value="item.game_id"
/>
</el-select>
@ -189,7 +189,7 @@
<el-option
v-for="(item, index) in modalOpt.game"
:key="index"
:label="item.game_name"
:label="item.game"
:value="item.game_id"
/>
</el-select>
@ -298,7 +298,7 @@ export default {
//
this.platformList = this.allGame.map(item => {
this.showName.game[item.game_id] = item.game_name
this.showName.game[item.game_id] = item.game
return `${item.platform_id}-${item.platform_name}`
})
this.platformList = [...new Set(this.platformList)]