摘要: 父组件 provide () { const vm = this return { getinternalApi (api) { vm.audioapi = api } } } 子组件 inject: [''getinternalApi] computed: { if(typeof this.get 阅读全文
posted @ 2019-12-04 09:30 不服憋着 阅读(125) 评论(0) 推荐(0)