Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdd74d2f

Browse files
committed
fix: assign template bag to current instance
1 parent7ba5b1b commitdd74d2f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎platform/nativescript/runtime/components/v-template.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ export default {
2121
return
2222
}
2323

24-
this.$parent.$templates=this.$parent.$templates||newTemplateBag()
25-
this.$parent.$templates.registerTemplate(
24+
this.$templates=this.$parent.$templates=
25+
this.$parent.$templates||newTemplateBag()
26+
this.$templates.registerTemplate(
2627
this.$props.name||(this.$props.if ?`v-template-${tid++}` :'default'),
2728
this.$props.if,
2829
this.$scopedSlots.default

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp