Angular 组件没有';使用带角度万向节的mdbootstrap旋转木马时不加载

Angular 组件没有';使用带角度万向节的mdbootstrap旋转木马时不加载,angular,server-side-rendering,angular-universal,mdbootstrap,Angular,Server Side Rendering,Angular Universal,Mdbootstrap,我使用了mdbootstrap旋转木马和angular universal。其余的组件工作正常,但我在主屏幕上使用旋转木马时遇到了一个问题。主页不会加载,但当我访问不同的页面并再次调用主页时,页面会加载 我的主页组件网HTML文件。 <section style="background-color: #00bfff"> <div class="home"> <mdb-carousel [isControls]="false" class="carouse

我使用了mdbootstrap旋转木马和angular universal。其余的组件工作正常,但我在主屏幕上使用旋转木马时遇到了一个问题。主页不会加载,但当我访问不同的页面并再次调用主页时,页面会加载

我的主页组件网HTML文件。

<section style="background-color: #00bfff">
  <div class="home">
    <mdb-carousel [isControls]="false" class="carousel slide carousel-fade" [animation]="'fade'">
      <mdb-slide>
        <div class="container-fluid">
          <div class="home-slider">
            <div></div>
            <div class="home-head">
              <p class="home-head-1">Get your personal career coach</p>
              <br>
              <button class="home-button">KNOW MORE</button>
            </div>
            <div>
              <img class="img-fluid home-img mx-auto d-block" src="/assets/images/slider/1.png" alt="boardinfinity" style="margin-bottom:25px;">
            </div>
          </div>
        </div>
      </mdb-slide>
      <mdb-slide>
        <div class="container-fluid">
          <div class="home-slider">
            <div></div>
            <div class="home-head">
              <p class="home-head-1">Get a career boost with great jobs.</p>
              <br>
              <button class="home-button">KNOW MORE</button>
            </div>
            <div>
              <img class="img-fluid home-img mx-auto d-block" src="/assets/images/slider/2.png" alt="boardinfinity" style="position: relative;top: 3px;">
            </div>
          </div>
        </div>
      </mdb-slide>
    </mdb-carousel>
  </div>
</section>

请您的个人职业教练


了解更多

通过出色的工作获得职业提升


了解更多

任何帮助都将不胜感激。

请尝试将
[interval]=“0”
添加到您的
元素中。这应该适合您。

控制台(服务器/客户端)中有错误吗?@David控制台上没有错误如果没有加载,您会在主页上看到什么?@David无限加载,等待localhost,我在节点控制台上得到它get/--ms--您看到那个线程了吗?不确定是不是同样的问题