Loading

provide / inject简单使用

  data() {},
  provide() {
    return {
      reportParent: this
    }
  },
  data() {},
  inject: ['reportParent'],
posted @ 2022-05-20 13:38  资深if-else侠  阅读(18)  评论(0编辑  收藏  举报