Are you executing that in the connectedCallback()? If so, move it to renderedCallback(). In the connectedCallback the dom is not still ...
確定! 回上一頁