|
@@ -180,7 +180,7 @@ class FormService implements FormServiceInterface
|
|
|
return Result::error('表单不存在');
|
|
|
}
|
|
|
$data = array_filter($data,function($value){
|
|
|
- return !empty($value);
|
|
|
+ return $value !== null;
|
|
|
});
|
|
|
GlobalTable::where(['id'=>$data['id']])->update($data);
|
|
|
return Result::success('修改成功');
|