{"action":"closed","issue":{"url":"https://api.github.com/repos/ElemeFE/element/issues/1972","repository_url":"https://api.github.com/repos/ElemeFE/element","labels_url":"https://api.github.com/repos/ElemeFE/element/issues/1972/labels{/name}","comments_url":"https://api.github.com/repos/ElemeFE/element/issues/1972/comments","events_url":"https://api.github.com/repos/ElemeFE/element/issues/1972/events","html_url":"https://github.com/ElemeFE/element/issues/1972","id":197484838,"number":1972,"title":"自定义表单验证的建议","user":{"login":"jixzfw","id":5906009,"avatar_url":"https://avatars.githubusercontent.com/u/5906009?v=3","gravatar_id":"","url":"https://api.github.com/users/jixzfw","html_url":"https://github.com/jixzfw","followers_url":"https://api.github.com/users/jixzfw/followers","following_url":"https://api.github.com/users/jixzfw/following{/other_user}","gists_url":"https://api.github.com/users/jixzfw/gists{/gist_id}","starred_url":"https://api.github.com/users/jixzfw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jixzfw/subscriptions","organizations_url":"https://api.github.com/users/jixzfw/orgs","repos_url":"https://api.github.com/users/jixzfw/repos","events_url":"https://api.github.com/users/jixzfw/events{/privacy}","received_events_url":"https://api.github.com/users/jixzfw/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-25T02:33:56Z","updated_at":"2016-12-25T14:32:27Z","closed_at":"2016-12-25T14:32:27Z","body":"建议将自定义的表单验证函数定义在 method 中，规则数组中这么调用：\r\n`\r\n\"pass\": [\r\n          { \"validator\": \"validatePass\", \"trigger\": \"blur\" }\r\n],\r\n`\r\n\r\n有利于json数据远程获取"}}
{"actor":{"display_login":"jixzfw"}}