JavaScript/vue.js/Provide Inject:修订间差异
来自康健生活
| 第47行: | 第47行: | ||
} | } | ||
export const rectKey: InjectionKey<Reactive<IFRect>> = Symbol('rect') | export const rectKey: InjectionKey<Reactive<IFRect>> = Symbol('rect') | ||
</syntaxhighlight>}} | </syntaxhighlight>}} | ||
| 第47行: | 第47行: | ||
} | } | ||
export const rectKey: InjectionKey<Reactive<IFRect>> = Symbol('rect') | export const rectKey: InjectionKey<Reactive<IFRect>> = Symbol('rect') | ||
</syntaxhighlight>}} | </syntaxhighlight>}} | ||