current position:Home>Vue project uses this$ forceUpdate(); Force render page

Vue project uses this$ forceUpdate(); Force render page

2022-04-29 15:13:19Elephants and ants

solve vue this.$forceUpdate() Deal with page refresh problems (v-for Cyclic value refresh, etc )

Problem description :

In the use of Vue Framework development , Changed a value in the page in the function , Check in the function that the modification is successful , But the changed value is not refreshed in time in the page :

solve :

** Application this. f o r c e U p d a t e ( ) strong system brush new ∗ ∗ ∗ ∗ add Add t h i

copyright notice
author[Elephants and ants],Please bring the original link to reprint, thank you.
https://en.qdmana.com/2022/119/202204291355086125.html

Random recommended