From father to son↓
<son :isShow="false"></son >
If it is written as isShow = false, it will report an error and think that the false passed is a string.
Subcomponent↓
isShow:{
type:Boolean,
default:true
}
<son :isShow="false"></son >
If it is written as isShow = false, it will report an error and think that the false passed is a string.
isShow:{
type:Boolean,
default:true
}