3***@qq.com
3***@qq.com
  • 发布:2017-04-22 12:29
  • 更新:2017-04-24 09:03
  • 阅读:1331

预载页面confirm多次弹出

分类:MUI

从A页面跳转到预载好的B详情页面,B页面中有一个confirm,现在第一次跳转到B页面时confirm弹出正常,即只弹出一次,而后每进入一次B页面,confirm便会多弹出一次(点了确认或取消也会继续弹出)。感觉是预载的问题,请问有什么方法可以解决呢?

                mui("#outline_history").on('tap','#del_outline',function(event){  
				var btnArray = ['否', '是'];  
				mui.confirm('确认删除记录?', 'healthsystem', btnArray,function(e){  
				if(e.index == 1){  
					plus.nativeUI.toast("成功");  
				}else{  
					plus.nativeUI.toast("取消");  
					}  
				});  
                 });
2017-04-22 12:29 负责人:无 分享
已邀请:
chender

chender - 与人为善

你是不是每次进去就绑定了一次事件。。。

该问题目前已经被锁定, 无法添加新回复