@ -196,8 +196,8 @@ v-if初始值为false,在父组件的(mounted)生命周期将变为true时,顺
子 --> mounted
父 --> updated
```
复制代码
有v-show控制子组件的显示和隐藏。
v-show初始值为true,顺序同第一种情况。