< view class = "equipmentBorder" > < view bindtap = "addEquipment" class = "addEquipment" >添加设备</ view > </ view > |
addEquipment() { var that = this ; var navbarActiveIndex = that.data.navbarActiveIndex; console.log(navbarActiveIndex); wx.navigateTo({ url: '/pages/me/roomManagement/equipment/equipment?index=' +navbarActiveIndex }) }, |
点三次过后,就出现了点击的次数,发现没有跳转,三次的值是传过去的下边值
是页面栈不允许超过10个
问题解决了吗?
给个代码片段吧
请具体描述问题出现的流程,并提供工具的版本号和能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。