update
This commit is contained in:
parent
730bc1c318
commit
ba8648b813
@ -34,6 +34,6 @@
|
|||||||
public function getGenderTextAttr($value, $data)
|
public function getGenderTextAttr($value, $data)
|
||||||
{
|
{
|
||||||
$arr = [0 => '男', 1 => '女'];
|
$arr = [0 => '男', 1 => '女'];
|
||||||
return $data[$arr['gender']];
|
return $arr[$data['gender']];
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user