公司开发一款小程序,button按钮弹窗安卓手机正常使用,苹果用户反应点击后没反应是怎么回事?

小程序 文章 2021-12-20 11:20 347 0 全屏看文

AI助手支持GPT4.0

公司开发一款小程序,button按钮弹窗安卓手机正常使用,苹果用户反应点击后没反应是怎么回事?The company has developed a small program. The button button pops up on the Android phone. Why does the Apple user respond that there is no response after clicking the button?

公司开发一款小程序,button按钮弹窗安卓手机正常使用,苹果用户反应点击后没反应是怎么回事?

<button bindtap="openrequest"  data-id="{{item.id}}" data-time="{{item.duration}}" data-iftime="{{item.if_time}}" data-duration="{{item.duration}}" >开始答题</button>


回答:

袁康:

手机右上角打开调试,console一下看看哪个步骤没执行

困难:

把关键步骤打印一下看看到底是哪里的问题

是bindtap没有触发,还是各个自定义的data-数据在openrequest里没获取到,还是openrequest的具体逻辑或发送请求有问题

大会波波:

先看看是不是openrequest没执行,还是事件内部报错

-EOF-

AI助手支持GPT4.0