提交 cc1935f5 编写于 作者: weixin_47267244's avatar weixin_47267244

修复非数据库字段乱入问题

上级 ba0a3f9d
......@@ -166,7 +166,7 @@ class Meta
{
/** @var Column $column */
$column = $columns[0];
if (isset($column->name))
if (null !== $column->name)
{
$dbFields[$column->name] = [
'propertyName' => $name,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册