ソースを参照

首页页面显示BUG

seimin 3 年 前
コミット
156eed189f
共有2 個のファイルを変更した7 個の追加2 個の削除を含む
  1. 2 2
      src/app/views/home/home.component.html
  2. 5 0
      src/app/views/home/home.component.ts

+ 2 - 2
src/app/views/home/home.component.html

@@ -160,7 +160,7 @@
160 160
             </div>
161 161
             <div class="tableBox">
162 162
               <div class="errorTabl">
163
-                <div class="box">
163
+                <overlay-scrollbars #osComponentRef3  class="box">
164 164
                   <nz-table class="errorTable" [nzData]="abOrders" nzSize="small" [nzShowPagination]="false"
165 165
                     [nzLoading]="loading2">
166 166
                     <thead>
@@ -182,7 +182,7 @@
182 182
                       </tr>
183 183
                     </tbody>
184 184
                   </nz-table>
185
-                </div>
185
+                </overlay-scrollbars>
186 186
               </div>
187 187
             </div>
188 188
           </div>

+ 5 - 0
src/app/views/home/home.component.ts

@@ -25,6 +25,11 @@ export class HomeComponent implements OnInit {
25 25
     static: false,
26 26
   })
27 27
   osComponentRef2: OverlayScrollbarsComponent;
28
+  @ViewChild("osComponentRef3", {
29
+    read: OverlayScrollbarsComponent,
30
+    static: false,
31
+  })
32
+  osComponentRef3: OverlayScrollbarsComponent;
28 33
   constructor(
29 34
     private fb: FormBuilder,
30 35
     private router: Router,