el-drawer中绑定opened方法,调用el-popover的doShow方法
部分代码:
el-drawer:
<el-drawer
:visible.sync="isOpenDrawer"
@close="cancelFormDrawer"
@opened="openedDrawer"
size='500px'
>
<el-popover ref="Popover" placement="bottom" width="400" trigger="click">
<div slot="reference">
......
</div>
</el-popover>
</el-drawer>
openedDrawer(){
this.$refs.popover.show()
}