mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-11-02 16:00:40 +00:00
修改
This commit is contained in:
parent
3bb35a7f2d
commit
68851f311e
@ -254,7 +254,7 @@ class SystemCrud extends AuthController
|
||||
$item['default_field_type'] = $item['field_type'];
|
||||
$item['default_comment'] = $item['comment'];
|
||||
$item['default_default'] = $item['default'];
|
||||
$item['primaryKey'] = (int)$item['primaryKey'];
|
||||
$item['primaryKey'] = isset($item['primaryKey']) ? (int)$item['primaryKey'] : 0;
|
||||
$info['field']['tableField'][$key] = $item;
|
||||
}
|
||||
//对比数据库,是否有新增字段
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user