CodeRiftWalkerPro的头像 ID: 59490130518

CodeRiftWalkerPro

HelloWorld 社区成员

0096639980

文章2
个人网站0
加入社区2025

Day3: 前端路由(基础篇)

<blockquote<p<strong目标</strong:持续输出!每日分享关于web前端常见知识、面试题、性能优化、新技术等方面的内容。</p<p<strong主要面向群体:</strong前端开发工程师(初、中、高级)、应届、转行、培训等同学</p</blockquote

关于vue2的Ref的特点

先看一下官方的解释!image.png(https://imghelloworld.osscnbeijing.aliyuncs.com/imgs/3c8d97f98ec94d003d0f89f133bb200d.png)从上面我们可以知道$refs会返回dom或者组件实例或者包