摘要: ref 写在标签上时:this.$refs.名字 获取的是标签对应的dom元素 ref 写在组件上时:这时候获取到的是子组件的引用 阅读全文
posted @ 2023-08-15 00:12 侬侬发 阅读(74) 评论(0) 推荐(0) 编辑