{:isset($role['rights']) && $role['rights'] && in_array($vo.mid,$role['rights'])?'checked':''}
错误提示:
in_array() expects parameter 2 to be array, string given
吃的苦中苦,方为人上人
Is it a problem with cvo or json_decode
var_dump($role['rights']) Check whether it is a string or array type
Is it a problem with cvo or json_decode
var_dump($role['rights']) Check whether it is a string or array type