📅  最后修改于: 2022-03-11 15:01:23.695000             🧑  作者: Mango
The constructor for a custom element is not supposed to read or write its DOM. It shouldn't create child elements, or modify attributes. That work needs to be done later, usually in a connectedCallback() method.....