小程序 getCurrentPages 传值,操作上个页面的数据。

小程序 getCurrentPages可操作各个页面的数据

https://www.jianshu.com/p/afba49872fe6

场景:

下单时选择地址,选择优惠券等。