父组件key值不同即可重新渲染组件,每次打开dialog修改diaid值刷新数据
<el-dialog v-model="isDia" :title="diaTiTle" width="37%" style="font-weight: 'bold'" center @open="openDia" @close="closeDia" :key="diaId" >
标签:渲染,diaid,elementui,重新,dialog,组件 From: https://www.cnblogs.com/yeyuqian/p/16705404.html