rkljw 4 ngày trước cách đây
mục cha
commit
f96673227f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/JsonRpc/FormService.php

+ 1 - 1
app/JsonRpc/FormService.php

@@ -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('修改成功');