收藏
回答

wx.navigateTo在工具中跳转三次之后出现无法跳转的问题?

<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
  })
},


点三次过后,就出现了点击的次数,发现没有跳转,三次的值是传过去的下边值

回答关注问题邀请回答
收藏

4 个回答

登录 后发表内容
问题标签