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'),
   })

vue3咋实现呢?

讨论数量: 0
(= ̄ω ̄=)··· 暂无内容!

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!