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