<component :is="comp1"></component>

 

data () {
    return {
      comp1:'',
    }
}

 

    require.ensure(['./top'], function(require){
      let top1 = require('./top1')
      that.comp1 = top1
    })

 

相关文章:

  • 2022-12-23
  • 2021-10-23
  • 2021-11-30
  • 2022-12-23
  • 2022-12-23
  • 2021-07-06
  • 2021-04-26
猜你喜欢
  • 2021-11-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案