siyueshini
<!--在父页面中给子组件添加相应ID--!>
<rating bindmyevent="score" class="rating" data-type="push_score"></rating>
onPullDownRefresh: function () {  //下拉刷新
    this.selectComponent(".rating").clearAll();//获取组件id,调用组件内的方法
}, methods:{ clearAll:function(){ //做相应操作,如initData }, },

原文链接:https://blog.csdn.net/qq_34279442/article/details/105295650

分类:

技术点:

相关文章:

  • 2022-01-07
  • 2022-12-23
  • 2022-01-07
  • 2022-01-07
  • 2021-07-31
  • 2021-05-24
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-01-07
  • 2022-01-07
  • 2021-09-21
  • 2022-12-23
  • 2021-07-02
  • 2022-01-07
相关资源
相似解决方案