在Select中使用本机时出现以下错误
<TextField
select
value={options.length ? value : defaultValue}
SelectProps={{
native: true,
}}>
Run Code Online (Sandbox Code Playgroud)
我正在使用材质 UI Textfield。
validateDOMNesting(...): <li> cannot appear as a child of <select>.
in li (created by ForwardRef(ButtonBase))
in ForwardRef(ButtonBase) (created by WithStyles(ForwardRef(ButtonBase))) ```
Run Code Online (Sandbox Code Playgroud) 我正在使用 Single-Spa-Angular 库构建微前端。我使用“ng add single-spa-angular”创建了三个不同的子应用程序,其中两个应用程序工作正常,但一个应用程序显示以下错误:
Uncaught app2: Application 'app2' died in status UNMOUNTING: Cannot read property 'injector' of undefined
at http://<HOSTNAME>:4202/main.js:204363:53
Run Code Online (Sandbox Code Playgroud)
和
Uncaught app2: Application 'app2' died in status SKIP_BECAUSE_BROKEN: In this configuration Angular requires Zone.js
at new NgZone (http://<HOST>:4202/main.js:68725:19)
at getNgZone (http://<HOST>:4202/main.js:69414:13)
at PlatformRef../node_modules/@angular/core/fesm5/core.js.PlatformRef.bootstrapModuleFactory (http://<HOST>:4202/main.js:69312:22)
at http://<HOST>:4202/main.js:69356:59
Run Code Online (Sandbox Code Playgroud)
谁能帮我吗。
谢谢沙希·布山·维尔玛
single-page-application angularjs-injector angular micro-frontend