File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed
packages/runtime-core/src/components Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -47,14 +47,13 @@ const resolveTarget = <T = RendererElement>(
4747 return null
4848 } else {
4949 const target = select ( targetSelector )
50- if ( ! target && ! isTeleportDisabled ( props ) ) {
51- __DEV__ &&
52- warn (
53- `Failed to locate Teleport target with selector "${ targetSelector } ". ` +
54- `Note the target element must exist before the component is mounted - ` +
55- `i.e. the target cannot be rendered by the component itself, and ` +
56- `ideally should be outside of the entire Vue component tree.` ,
57- )
50+ if ( __DEV__ && ! target && ! isTeleportDisabled ( props ) ) {
51+ warn (
52+ `Failed to locate Teleport target with selector "${ targetSelector } ". ` +
53+ `Note the target element must exist before the component is mounted - ` +
54+ `i.e. the target cannot be rendered by the component itself, and ` +
55+ `ideally should be outside of the entire Vue component tree.` ,
56+ )
5857 }
5958 return target as T
6059 }
You can’t perform that action at this time.
0 commit comments