uni.navigateTo({
url: '/pages/detailcontrol/detailcontrol?vin=' + vin + '&flag=check' + '&updateTime=' + updateTime +'&operationUser=' + operationUser + '&status=' + status + '&offlineId=' + offlineId
})
url有长度限制,太长的字符串会传递失败,可使用窗体通信、全局变量,或encodeURIComponent等多种方式解决。
uni.navigateTo({
url: '/pages/detailcontrol/detailcontrol?itemContent=' + encodeURIComponent(JSON.stringify(itemContent)),
})
//下页
onLoad: function(option) {
const itemContent = JSON.parse(decodeURIComponent(option.itemContent));
}