Tips

根据需要适配的浏览器,做好适配
如果不处理,edge会直接抛错,阻塞渲染

  • As a workaround, if your project has been compiled to ES5, load custom-elements-es5-adapter.js before defining Custom Elements. This adapter will automatically wrap ES5.