在页面传数字时传数字并且接收页面中需要用到
wx:if
wx:elif
wx:else
来判断渲染数据时,不能传字符串数字,传Number类型;
wx.navigateTo({
url: “…/component/orders/myOrder?num=1”
})
在页面传数字时传数字并且接收页面中需要用到
wx:if
wx:elif
wx:else
来判断渲染数据时,不能传字符串数字,传Number类型;
wx.navigateTo({
url: “…/component/orders/myOrder?num=1”
})