提交 e7b46bf6 作者: 毛细亚

🐞 fix: 隐藏H5游戏神权之战和荣耀时刻

上级 3bad689a
...@@ -528,10 +528,10 @@ export default { ...@@ -528,10 +528,10 @@ export default {
handleConversionGameList() { handleConversionGameList() {
if (this.conversionGameList.length > 0) { if (this.conversionGameList.length > 0) {
this.conversionGameList.forEach((item, index) => { this.conversionGameList.forEach((item, index) => {
// 隐藏 h5的游戏 912:神权之战 // 隐藏 h5的游戏 912:神权之战 784:荣耀时刻
if (item.game_type === 2 && item.children && item.children.length > 0) { if (item.game_type === 2 && item.children && item.children.length > 0) {
const filteredChildren = item.children.filter(child => { const filteredChildren = item.children.filter(child => {
return child.game_id !== '912' return child.game_id !== '912' && child.game_id != '784'
}) })
this.$set(this.conversionGameList[index], 'children', filteredChildren) this.$set(this.conversionGameList[index], 'children', filteredChildren)
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论