跳转页 游戏名显示中文
This commit is contained in:
parent
1bc8a1e4fb
commit
881e595226
@ -45,7 +45,7 @@
|
|||||||
<el-option
|
<el-option
|
||||||
v-for="(item, index) in gameList"
|
v-for="(item, index) in gameList"
|
||||||
:key="index"
|
:key="index"
|
||||||
:label="item.game_name"
|
:label="item.game"
|
||||||
:value="item.game_id"
|
:value="item.game_id"
|
||||||
/>
|
/>
|
||||||
</el-select>
|
</el-select>
|
||||||
@ -189,7 +189,7 @@
|
|||||||
<el-option
|
<el-option
|
||||||
v-for="(item, index) in modalOpt.game"
|
v-for="(item, index) in modalOpt.game"
|
||||||
:key="index"
|
:key="index"
|
||||||
:label="item.game_name"
|
:label="item.game"
|
||||||
:value="item.game_id"
|
:value="item.game_id"
|
||||||
/>
|
/>
|
||||||
</el-select>
|
</el-select>
|
||||||
@ -298,7 +298,7 @@ export default {
|
|||||||
|
|
||||||
// 获取所有平台
|
// 获取所有平台
|
||||||
this.platformList = this.allGame.map(item => {
|
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}`
|
return `${item.platform_id}-${item.platform_name}`
|
||||||
})
|
})
|
||||||
this.platformList = [...new Set(this.platformList)]
|
this.platformList = [...new Set(this.platformList)]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user