You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thanks for your interest but Github issues are for bug reports and feature requests only. You can ask questions on the forum, the Discord server or StackOverflow.
Version
2.6.10
Reproduction link
Steps to reproduce
parent code
<do-more @onreloadtab="reloadTab" :selectFolder="selectFolder">
methods: {
reloadTab:function(){
console.log('reload')
}
}
child code
.....
methods: {
async delete (row) {
let that = this
await this.$confirm("Are you sure to delete?", "confirm")
.then((config) => {
that.$emit('onreloadtab')
return
})
.catch(() => {
});
}
What is expected?
I tried to get the request sent by the child page from the parent page, but it was unsuccessful
What is actually happening?
why parent cannot get emit message
The text was updated successfully, but these errors were encountered: