提交 02d963eb 作者: 毛细亚

🐞 fix: 优化游戏分身包发送参数传递

上级 0692d523
...@@ -99,9 +99,9 @@ ...@@ -99,9 +99,9 @@
</p> </p>
<!-- h5 安卓游戏 IOS游戏 发送分身包 --> <!-- h5 安卓游戏 IOS游戏 发送分身包 -->
<div v-if="[2].includes(item.game_type)"> <div v-if="[2].includes(item.game_type)">
<p class="sendLink" @click="sendTransferCloneGame(2)">发送分身包-H5</p> <p class="sendLink" @click="sendTransferCloneGame(2,items)">发送分身包-H5</p>
<p class="sendLink" @click="sendTransferCloneGame(3)">发送分身包-安卓</p> <p class="sendLink" @click="sendTransferCloneGame(3,items)">发送分身包-安卓</p>
<p class="sendLink" @click="sendTransferCloneGame(4)">发送分身包-IOS</p> <p class="sendLink" @click="sendTransferCloneGame(4,items)">发送分身包-IOS</p>
</div> </div>
</div> </div>
<el-button <el-button
...@@ -1108,9 +1108,9 @@ export default { ...@@ -1108,9 +1108,9 @@ export default {
this.showSendPage = true; this.showSendPage = true;
}, 500), }, 500),
// 转端发送游戏分身包 h5 安卓游戏 IOS游戏 发送分身包 // 转端发送游戏分身包 h5 安卓游戏 IOS游戏 发送分身包
async sendTransferCloneGame(type) { async sendTransferCloneGame(type,items) {
if(!this.h5CloneGameInfo?.data?.h5_download_url){ if(!this.h5CloneGameInfo?.data?.h5_download_url){
this.h5CloneGameInfo = await memberRegGameCloneLink({ member_id: this.accountSelect }) || {} this.h5CloneGameInfo = await memberRegGameCloneLink({ member_id: this.accountSelect ,game_id:items.game_id}) || {}
} }
if (this.h5CloneGameInfo?.status_code == 1) { if (this.h5CloneGameInfo?.status_code == 1) {
// 通过 type 判断 用 switch // 通过 type 判断 用 switch
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论