The timer is started multiple times. Causing page functionality to become confusing. How to solve this problem? Use global variables instead of definitions in data
ref acts on ordinary elements, use this.ref.name to get dom elements. ref acts on sub-components, use this.ref.name to get the component instance, you can use all methods of the component, use v-for and ref to get a set of data or dom node
The Web has changed dramatically over the years, both as a consumer and as a developer. Thanks to the advancement of the Internet, making attractive websites and applications has never been easier.