修复CRUD在无回收站字段情况下的BUG

pull/101/MERGE
Karson 2019-03-03 19:19:02 +08:00
parent 539cf051fc
commit b75fa0661f
2 changed files with 2 additions and 0 deletions

View File

@ -826,6 +826,7 @@ class Crud extends Command
'relationWithList' => '',
'relationMethodList' => '',
'controllerIndex' => '',
'recyclebinJs' => '',
'headingHtml' => $headingHtml,
'recyclebinHtml' => $recyclebinHtml,
'visibleFieldList' => $fields ? "\$row->visible(['" . implode("','", array_filter(explode(',', $fields))) . "']);" : '',

View File

@ -391,6 +391,7 @@ CREATE TABLE `fa_test` (
`refreshtime` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '刷新时间(int)',
`createtime` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '创建时间',
`updatetime` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '更新时间',
`deletetime` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '删除时间',
`weigh` int(10) NOT NULL DEFAULT '0' COMMENT '权重',
`switch` tinyint(1) NOT NULL DEFAULT '0' COMMENT '开关',
`status` enum('normal','hidden') NOT NULL DEFAULT 'normal' COMMENT '状态',