is it true that all props of a child component must be passed :
with a colon at the time of the parent component?
in subcomponents:
props: {
a: {
xxx
},
b: {
xxx
}
}
when using subcomponents:
<sub-comp :a="xxx" :b="xxx" />
when using child components, you must use colons to pass :
?
Edit
when using iView"s Switch:
<Switch value="true" @on-change="on_change">
</Switch>
you can"t do this by passing value= "true" here. You must use : value=true
.