修正模型和单据新建按钮不显示

This commit is contained in:
乐风 2021-05-03 08:04:49 +08:00
parent 884aff5b23
commit 47ca04f18f
2 changed files with 3 additions and 1 deletions

View File

@ -28,6 +28,7 @@ class BillController extends DefaultController
'table' => 'model_bill',
'master_table' => 'model_bill',
'create_btn' => 1,
'access' => $this->access,
];
$header['cols'] = [

View File

@ -28,6 +28,7 @@ class ModelController extends DefaultController
'table' => 'model',
'master_table' => 'model',
'create_btn' => 1,
'access' => $this->access,
];
$search = search_form([
@ -163,7 +164,7 @@ class ModelController extends DefaultController
$ret['header'] = Grid::getColumns($header);
return $ret;
}
return $this->display([
'header' => $header,
]);