VueJS $watch $refs ... And voilà. We set our data shownPets to our pets $ref after the component mounts. The reference will hold different elements based on if ...
確定! 回上一頁