vue2.0 will be rewritten into the camel case writing method of menuWrapper. If the result as shown in the picture appears on the browser, it means that it has been caught][1]
Change menuWrapper to menu-wrapper and give it a try. Ref is similar to the id added to dom in js, so it must be consistent with what you wrote above. There are some differences in usage between vue2.0 and v1.0
vue2.0 will be rewritten into the camel case writing method of menuWrapper. If the result as shown in the picture appears on the browser, it means that it has been caught][1]
Is the problem solved? My problem is not naming
Change menuWrapper to menu-wrapper and give it a try. Ref is similar to the id added to dom in js, so it must be consistent with what you wrote above. There are some differences in usage between vue2.0 and v1.0