绑定的事件:

:before-close="handleDialogClose"
html:
    <!-- 新增、编辑弹窗 -->
    <el-dialog
      :close-on-click-modal="false"
      :before-close="handleDialogClose"    // 绑定回调的方法
      v-dialogDrag
      :title="title"
      :visible.sync="editdataDialog"
      width="30%"
    >    

method:

    // 关闭之前的回调
    handleDialogClose() {
        this.searchBymName();
        this.editdataDialog = false;
    },

 

 

相关文章:

  • 2022-12-23
  • 2021-09-13
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-29
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-29
  • 2022-12-23
  • 2022-12-23
  • 2021-12-23
  • 2021-09-07
  • 2021-09-12
相关资源
相似解决方案