如何通过编程方式更新element-ui popover? 我尝试过:
<el-popover
placement="bottom"
ref="popover"
title="Title"
width="200"
trigger="click"
content="this is content, this is content, this is content">
<el-button slot="reference">Click to activate</el-button>
</el-popover>
this.$refs.popover.update();
但是它不起作用。 我在官方文档中读到,它可以通过使用popper.js实例(使用element-ui组件)来完成。
但是我不能得到那个实例。 请帮我解决问题))