A页面
var data = {
row : event.bindingContext.$object
};
justep.Shell.showPage('readRecord', data);
跳转B页面 ,接收参数
var meterReadData = me.comp('meterReadData');
var row = event.data.row;
meterReadData.to(row);
这样就报错:
TypeError: Converting circular structure to JSON
at Object.stringify (native)
at c.addRouteItem (http://localhost:8080/x5/UI2/v_c61ff82ada8c4cf0bfe7e316a704ccd8l_zh_CNs_d_m/system/core.min.js:71:305946)
at null.<anonymous> (http://localhost:8080/x5/UI2/v_c61ff82ada8c4cf0bfe7e316a704ccd8l_zh_CNs_d_m/system/core.min.js:71:305669)
at r.extend.fire (http://localhost:8080/x5/UI2/v_c61ff82ada8c4cf0bfe7e316a704ccd8l_zh_CNs_d_m/system/core.min.js:71:236139)
at r.extend.fireEvent (http://localhost:8080/x5/UI2/v_c61ff82ada8c4cf0bfe7e316a704ccd8l_zh_CNs_d_m/system/core.min.js:71:237303)
at n.callParent (http://localhost:8080/x5/UI2/v_c61ff82ada8c4cf0bfe7e316a704ccd8l_zh_CNs_d_m/system/core.min.js:71:233578)
at Component.extend.fireEvent (http://localhost:8080/x5/UI2/v_4ebcefc09b4e48b1a2f6aec5a5fd0c33l_zh_CNs_d_m/system/common.min.js:15:3768)
at t (http://localhost:8080/x5/UI2/v_f22afd2f83d845bf9676cef75462da15l_zh_CNs_d_m/system/components/comp.min.js:144:9745)
at n.ViewComponent.extend._prepareRouteStateChannel (http://localhost:8080/x5/UI2/v_f22afd2f83d845bf9676cef75462da15l_zh_CNs_d_m/system/components/comp.min.js:144:9904)
at n.ViewComponent.extend.loaded (http://localhost:8080/x5/UI2/v_f22afd2f83d845bf9676cef75462da15l_zh_CNs_d_m/system/components/comp.min.js:144:9515)