摘要: 获取原生的DOM的方式 ** 类似angular的 #xx 呗。。 ref 给标签绑定ref属性,获取的是当前DOM对象 给组件绑定ref属性,获取的是组件实例对象 this.$parent this.$root this.$children 给标签或者组件 添加ref <div ref = 'al 阅读全文
posted @ 2020-10-05 11:46 蜗牛般庄 阅读(480) 评论(0) 推荐(0) 编辑
Title
页脚 HTML 代码