Question: Because the tab parent component of the switch, leading to sub-assemblies there has been no refresh when the parent component by value update, sub-assemblies can not get to.
Resolve: as long as sub-components force a refresh to get the value of props can be passed over the use of characteristic v-if, force a refresh sub-components in the parent assembly.
< Son V-IF = "sonRefresh" > </ Son > Data () { return { sonRefresh: to true } } // write the following piece of content within parent components acquired local value this.sonRefresh = to false; the this $ nextTick (. () => { this.sonRefresh = to true; });
The above content is written in the parent assembly.