Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/gwt/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Angular2 forms 角度数据表未在第一次加载时加载_Angular2 Forms_Angular Datatables - Fatal编程技术网

Angular2 forms 角度数据表未在第一次加载时加载

Angular2 forms 角度数据表未在第一次加载时加载,angular2-forms,angular-datatables,Angular2 Forms,Angular Datatables,这里我正在使用带有Angular2的DataTable,这里DataTable正在工作,我刷新了页面,但是第一次运行时没有加载 <table datatable class="row-border hover"> <thead> <tr> <th>Auction ID</th> </tr> </thead> <tbody

这里我正在使用带有Angular2的DataTable,这里DataTable正在工作,我刷新了页面,但是第一次运行时没有加载

<table datatable class="row-border hover">
      <thead>
        <tr>
          <th>Auction ID</th>
        </tr>
      </thead>
      <tbody>

        <tr *ngFor="let value of auction">
          <td>{{value.name}}</td>
      <tbody>
    </table>

拍卖ID
{{value.name}
同时,我使用了普通的DataTable(不带*ngFor=“”),它的工作正常,没有任何问题

<table datatable class="row-border hover">
          <thead>
            <tr>
              <th>Auction ID</th>
            </tr>
          </thead>
          <tbody>

            <tr>
              <td>John</td>
          <tbody>
        </table>

拍卖ID
约翰

您正在使用哪个插件?你能帮我找到那个链接吗?。我再给你讲一个数据表好吗?