1、 引入组件,并编写代码
const h = this.$createElement;
this.$msgbox({
title: '绑定邮箱',
message: h('email'),
showCancelButton: false,
showConfirmButton: false,
}).then(value => {
console.log(value,'ggg')
});
2、 在子组件email中,确定和取消方法里加入关闭弹窗的代码
this.$refs.bindForm.$parent.$parent.doClose()