The second method cannot be obtained, please ask God! ! ! ! !
我想大声告诉你2017-05-18 11:01:09
Sometimes, you really have to read the documentation carefully. .
Only after the mounting is completed, $refs can be obtained.
Thank you everyone.
漂亮男人2017-05-18 11:01:09
Post the completed code! There is a delay when the console.log() function prints, I can’t completely believe it
为情所困2017-05-18 11:01:09
Looking at your second method, you specify a componentref
but you do not read or operate the methods or properties in it
滿天的星座2017-05-18 11:01:09
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