This commit is contained in:
weiz 2024-04-02 15:29:35 +08:00
parent 730bc1c318
commit ba8648b813

View File

@ -34,6 +34,6 @@
public function getGenderTextAttr($value, $data)
{
$arr = [0 => '男', 1 => '女'];
return $data[$arr['gender']];
return $arr[$data['gender']];
}
}