1. .sync
2.ref
this.$refs.remindPage.setNotice(this.noticeCache); this.$refs.子组件refName.子组件api();
3.props
//子组件定义 props: { noticeCache: { type: Object, default: function() { return {} } } }, console.log(this.noticeCache);
//父组件传值 <components-demo ref="remindPage" :noticeCache.sync="noticeCache" > </components-demo>
4.$emit