vue parent component to pass an array of sub-assemblies did not change

Solution changes the value of the array to use $ set method
vue $ set of methods to modify the value of the array
this.$set(target,key,value);

Guess you like

Origin www.cnblogs.com/zhangkeke/p/12035674.html
Recommended