摘要: 祖先--后代 provide inject index.js provide: { indexVal: 'indexVal--grandson1' }, grandson.js <div>{{indexVal}}</div> inject: ['indexVal'], 后代--祖先 dispatch 阅读全文
posted @ 2020-04-27 16:25 铜镜123 阅读(804) 评论(0) 推荐(0) 编辑