vue, the parent = "the child passes parameters through the props, but I think after the child layout receives the props data, it triggers an operation to store the finished data in a param1 in the data. And param1 will return out in computed. The whole process of
I want to automatically trigger and complete when the parent = "son passes parameters through props, and then after binding computed and dom in the child layout, trigger computed to return param1 and pass it to the grandchild layout.
the problem now is, how to trigger an operation to complete the encapsulation of param1 after receiving props data?
in fact, in weex, the parameter passed by parent = child will only trigger the set method of computed, and when computed and dom are bound in the child layout, only the get method of computed will be triggered. This set of bindings is triggered automatically. The function of computed in vue is not consistent with that of weex.
Please also give me your advice. Thank you