jingyuzhi 4 년 전
부모
커밋
a7286ec39f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Admin/Controllers/VaccinesController.php

+ 1 - 1
app/Admin/Controllers/VaccinesController.php

xqd
@@ -53,7 +53,7 @@ class VaccinesController extends AdminController
 //            $comments = $org->toArray();
 //            $comments[0]['name'] = $names;
 //            dd($id);
-            return new Table(['ID', '库存','机构名称' ], $org);
+            return new Table(['ID', '库存' ], $org->toArray());
         });
 
         $grid->column('stock','库存');