Vue可以使用ref
,获得模板内的元素或组件实例的引用。需要注意,模板引用只会在初始渲染之后获得赋值
为了方便我将相关内容简记如下图:
1.5模板引用 template-refs.png更多相关原图和原始文件已上传GitHub
,一来方便批量下载相关脑图,二来可以方便你按照自己的的思路进行修改!
Vue可以使用ref
,获得模板内的元素或组件实例的引用。需要注意,模板引用只会在初始渲染之后获得赋值
为了方便我将相关内容简记如下图:
1.5模板引用 template-refs.png更多相关原图和原始文件已上传GitHub
,一来方便批量下载相关脑图,二来可以方便你按照自己的的思路进行修改!
本文标题:模板引用 template-refs
本文链接:https://www.haomeiwen.com/subject/uvweiltx.html
网友评论