Dom does not render the changes of all the attributes in the watch array in Vue.

1.data defines the array gametasks,
2.wacth. Console can see that the data has indeed changed.
3. Rendering is not successful in dom


won't you write that in an endless loop? Modify the value of watch directly.
I think computed is better.


watch this gametasks array, which is modified in the callback, should loop infinitely. Report an error

.
Menu