父组件通过点击触发向子组件传值
<el
-button type
="primary" @click
="handleSearch">查询
</el
-button
>
<LedgerEquipTable
class="ledgerEquipTable" ref
="tableList"/>
<script
>
methods
:{
handleSearch(){
this.$refs
.tableList
.sendItem(this.equipCondition
,this.branchname
)
}
}
</script
>
methods:
{
sendItem(this.equipCondition
,this.branchname
){
}
}
转载请注明原文地址: https://mac.8miu.com/read-489422.html