<!--在父页面中给子组件添加相应ID--!>
<filter-com id="filter-com" bind:typeId="clickType" bind:area="clickArea"
showOcclude="{{Occlude}}"></filter-com>
onPullDownRefresh: function () { //下拉刷新
this.selectComponent("#filter-com").clearAll();//获取组件id,调用组件内的方法
this.onLoad();//重新加载
},
methods:{
clearAll:function(){
//做相应操作,如initData
},
},