84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
The second method cannot be obtained, please ask God! ! ! ! !
闭关修行中......
Sometimes, you really have to read the documentation carefully. . Only after the mounting is completed, $refs can be obtained.Thank you everyone.
Post the completed code! There is a delay when the console.log() function prints, I can’t completely believe it
In which method did you call console.log?
Looking at your second method, you specify a componentrefbut you do not read or operate the methods or properties in it
ref
You need to display the html template and the functions called. Otherwise, how will you know what the problem is, and there is no mention of the vue version
<p cannot be obtained if="false" ref="selection"></p> or created
Sometimes, you really have to read the documentation carefully. .
Only after the mounting is completed, $refs can be obtained.
Thank you everyone.
Post the completed code! There is a delay when the console.log() function prints, I can’t completely believe it
In which method did you call console.log?
Looking at your second method, you specify a component
ref
but you do not read or operate the methods or properties in itYou need to display the html template and the functions called. Otherwise, how will you know what the problem is, and there is no mention of the vue version
<p cannot be obtained if="false" ref="selection"></p> or created