Because the element is not rendered in the DOM yet. You can solve it by using the $nextTick function: <div id="app"> ...
確定! 回上一頁