摘要: 介绍 通过 ref() 还可以引用页面上的元素或组件。 DOM 的引用 <template> <div> <h3 ref="h3Ref">TemplateRefOne</h3> </div> </template> <script> import { ref, onMounted } from '@ 阅读全文
posted @ 2019-11-11 20:56 guangzan 阅读(8788) 评论(0) 推荐(1) 编辑