File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 12
12
<StackLayout marginTop =" 200" >
13
13
<StackLayout marginBottom =" 50" >
14
14
<Label :text =" item.field1" />
15
- <StackLayout v-if =" item.field1" backgroundColor =" red" height =" 10" width =" 10" />
15
+ <StackLayout v-show =" item.field1" backgroundColor =" red" height =" 10" width =" 10" />
16
16
</StackLayout >
17
17
<StackLayout marginBottom =" 50" >
18
18
<Label :text =" item.field2" />
19
- <StackLayout v-if =" item.field2" backgroundColor =" green" height =" 10" width =" 10" />
19
+ <StackLayout v-show =" item.field2" backgroundColor =" green" height =" 10" width =" 10" />
20
20
</StackLayout >
21
21
<StackLayout marginBottom =" 50" >
22
22
<Label :text =" item.field3" />
23
- <StackLayout v-if =" item.field3" backgroundColor =" blue" height =" 10" width =" 10" />
23
+ <StackLayout v-show =" item.field3" backgroundColor =" blue" height =" 10" width =" 10" />
24
24
</StackLayout >
25
25
</StackLayout >
26
26
</v-template >
You can’t perform that action at this time.
0 commit comments