In the template, I obtained the newly set property of the reactive object through a function, and the view was not reactive, but directly taking this value was reactive. I used Vue 3 to implement the same logic, and it was reactive.
Vue 2 exampleVue 3 example
In the template, I obtained the newly set property of the reactive object through a function, and the view was not reactive, but directly taking this value was reactive. I used Vue 3 to implement the same logic, and it was reactive. Vue 2 example Vue 3 example