chore: comment usage of short property name

This commit is contained in:
Evan You 2022-01-12 22:08:05 +08:00
parent ce49fdf999
commit ff2d6d1cb7

View File

@ -86,7 +86,7 @@ export function renderComponentVNode(
const instance = createComponentInstance(vnode, parentComponent, null)
const res = setupComponent(instance, true /* isSSR */)
const hasAsyncSetup = isPromise(res)
const prefetches = instance.sp
const prefetches = instance.sp /* LifecycleHooks.SERVER_PREFETCH */
if (hasAsyncSetup || prefetches) {
let p: Promise<unknown> = hasAsyncSetup
? (res as Promise<void>)