Skip to content

Commit cc3d9d6

Browse files
committed
fix: 当 form 参数为多个'驼峰.字段名'时,获取不到字段的值
1 parent 4f768cc commit cc3d9d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Form/Field.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ public function fill($data)
392392

393393
if (is_array($this->column)) {
394394
foreach ($this->column as $key => $column) {
395-
$this->value[$key] = Arr::get($data, $column);
395+
$this->value[$key] = Arr::get($data, Str::snake($column));
396396
}
397397

398398
return;

0 commit comments

Comments
 (0)