If I change it to ref="foobar" then I do get the last child in this.$refs.foobar . But it vue2 me an array back containing all children components. <script> ...
確定! 回上一頁