How to close $msgbox in element-ui

I used $msgbox to write an upload plug-in with vnode. After using it, the partners of the operation said one after another whether they could automatically close the floating layer after uploading.

I looked up the documents for a long time and found that there seemed to be no way. I asked here to see if I could find a reliable solution.

the following is the main code:

{temVM.tip}</div>
      </el-upload>,
    showConfirmButton: true,
    showCancelButton: false
  })
}

Vue.use({
  install (Vue) {
    Vue.prototype.$dialogUpload = show
  }
})

Thank you.

Mar.21,2021

Thank you for your answers ~

the answers are concentrated in the done method in beforeClose . Users need to click close to trigger.

expect to close $msgbox directly without clicking.

No relevant instructions were found in the document. When I went to try my luck to look at the source code, I found:

bottom of https://github.com/ElemeFE/el.

   

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3ac1b-2c256.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3ac1b-2c256.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?