1、在data中定义了product_d,onload的时候是能访问的
2、在findGoodsInfo方法里面访问,此时product_id变为undefined了

m***@foxmail.com
- 发布:2021-08-24 22:53
- 更新:2021-08-24 22:53
- 阅读:391
:custom-action调用findGoodsInfo后,在这个函数里面访问this没有data里面定义的属性
分类:uni-app


