添加后:
public function index() 
{
    $this->paginate['User']['conditions'] = array('User.role' => 'admin');
    $this->set('users', $this->paginate());
}
我收到这个:
Strict (2048): JsHelper::value() 的声明应该与 Helper::value($options = Array, $field = NULL, $key = 'value') [CORE/Cake/View/Helper/JsHelper. php,第 34 行]
那什么意识?它有什么作用?顺便说一句,我从不对 JsHelper 做任何事情。