provide / inject简单使用
data() {},
provide() {
return {
reportParent: this
}
},
data() {},
inject: ['reportParent'],
data() {},
provide() {
return {
reportParent: this
}
},
data() {},
inject: ['reportParent'],