动态组件方案并不能使用 Vue.component('my-component-name', {/* */}) 这种方式,因为这种方式只能在根Vue 实例(通过new Vue) 创建之前 发生,渲染模板代码是根Vue ...
確定! 回上一頁