0
2
39
4877
3
10
vue提供一個(gè)對(duì)象$refs可以獲取DOM,一般在加載組件時(shí)候就需要獲取DOM,此時(shí)可以在created/mounted鉤子函數(shù)中this.$refs.xxx。注意,切記,t...