Sometimes some data cannot be stored in data in advance. Even if we modify the data, the display on the page is still not updated. At this time, we need to force a refresh of the page. Only one sentence is needed:
this.$forceUpdate();
Sometimes some data cannot be stored in data in advance. Even if we modify the data, the display on the page is still not updated. At this time, we need to force a refresh of the page. Only one sentence is needed:
this.$forceUpdate();