diff --git a/packages/runtime-core/src/apiInject.ts b/packages/runtime-core/src/apiInject.ts index 3e266b36..79121ec2 100644 --- a/packages/runtime-core/src/apiInject.ts +++ b/packages/runtime-core/src/apiInject.ts @@ -26,6 +26,7 @@ export function inject(key: Key): Value | undefined { if (!currentInstance) { // TODO warn } else { + // TODO should also check for app-level provides const provides = currentInstance.parent && currentInstance.provides if (provides) { const val = provides[key as any]