provide 可以传入两个参数: name: 提供的属性名称 value: 提供的属性值 inject 可以传入两个参数 要 inject 的 property 的name 默认值
provide 可以传入两个参数:
provide
inject 可以传入两个参数
inject