Skip to content

Commit 874fc1d

Browse files
authored
refactor: use self-closing tags
1 parent 7f7a234 commit 874fc1d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

vue-demo/app/components/Details.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<Image
88
margin="0"
99
stretch="aspectFill"
10-
:src="flick.image"></Image>
10+
:src="flick.image" />
1111
<StackLayout padding="10 20">
1212
<StackLayout v-for="detail in flick.details" :key="detail.id">
1313
<Label
@@ -16,12 +16,12 @@
1616
fontWeight="700"
1717
class="text-primary"
1818
textWrap="true"
19-
:text="detail.title"></Label>
19+
:text="detail.title" />
2020
<Label
2121
fontSize="14"
2222
class="text-secondary"
2323
textWrap="true"
24-
:text="detail.body"></Label>
24+
:text="detail.body" />
2525
</StackLayout>
2626
</StackLayout>
2727
</StackLayout>

0 commit comments

Comments
 (0)