Procházet zdrojové kódy

dx(runtime-core): log the component object when warning about missing template/render function (#10263)

skirtle před 1 rokem
rodič
revize
7d4e5750ba
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      packages/runtime-core/src/component.ts

+ 1 - 1
packages/runtime-core/src/component.ts

@@ -1006,7 +1006,7 @@ export function finishComponentSetup(
                 : ``) /* should not happen */,
       )
     } else {
-      warn(`Component is missing template or render function.`)
+      warn(`Component is missing template or render function: `, Component)
     }
   }
 }