#36423·storybook

[错误]: Angular (angular-vite): 在文档页面上切换工具栏全局开关时,每个故事会记录一次 NG05104

作者: nuriddin2468创建于 2026年9月24日更新于 2026年9月28日
标签bugangularaddon: docsaddon: toolbarsbuilder-vitesev:S4
  • let applicationRef = await queueBootstrapping(() => bootstrapApplication(application, {
  • let hostElement = await queueBootstrapping(() => bootstrapApplication(application, {
diff
-    if (hostElement) {
+    if (hostElement) {
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
+    if (!hostElement) {
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    // If the host element is no longer in the document, we can skip the bootstrap.
```diff
-    //

内容来源: storybookjs/storybook