可以通过.catch()获取到异步函数内部错误信息 cgctm6 2020-09-07 92 阅读1分钟 let res = await this.$confirm("是否删除该用户", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).catch(err => err);