vue3 createVNode/h 通过组件名称来进行渲染无效果
VUE3的代码可以不能解析组件
this.$msgbox({
title: data.title,
customClass: config.class || 'modal-form',
message: createVNode('el-button'),
})
VUE2的代码可以解析组件
this.$msgbox({
title: data.title,
customClass: config.class || 'modal-form',
message: vue.createElement('el-button'),
})