<el-dialog :visible.sync="infoDialog"
:close-on-click-modal="false"
:close-on-press-escape="false"
top="2vh"
width="720px"
class="infoDialog-box">
<div slot="title"
class="dialogTitle">
弹窗自定title
</div>
<div ref="infoDialogContent"
class="infoDialog-content">
</div>
methods:
this.$nextTick(() => {
this.$refs.infoDialogContent.scrollTop = 0
})