vue 动态加载组建
<component :is="comp1"></component>
data () {return {
comp1:'',
}
}
require.ensure(['./top'], function(require){let top1 = require('./top1')
that.comp1 = top1
})
以上是 vue 动态加载组建 的全部内容, 来源链接: utcz.com/z/379456.html
<component :is="comp1"></component>
data () {return {
comp1:'',
}
}
require.ensure(['./top'], function(require){let top1 = require('./top1')
that.comp1 = top1
})
以上是 vue 动态加载组建 的全部内容, 来源链接: utcz.com/z/379456.html