uni.navigateTo页面跳转时传对象参数
A页面要传的对象参数:注:encodeURIComponent(JSON.stringify(对象))//跳转详情handleAlarmDetailById(e){ //e是一个对象类型参数 uni.navigateTo({ url: "/indexHugerol/pages/alopmdetail/index?alarmDetail=" + encodeURIComponent(JSON.stringify(e)) })},B页面接收参数:注:JSON.parse(