页面跳转传多个参数

1、一般只会传一个id,比如从列表页跳到详情页,只传一个productId。
进入详情页后,再通过productId请求接口拿详情页的数据。

2、用wx.setStorage等API做全局缓存

猜你喜欢

转载自blog.csdn.net/gx17864373822/article/details/81219583
今日推荐