{"action":"created","issue":{"url":"https://api.github.com/repos/niceue/nice-validator/issues/201","labels_url":"https://api.github.com/repos/niceue/nice-validator/issues/201/labels{/name}","comments_url":"https://api.github.com/repos/niceue/nice-validator/issues/201/comments","events_url":"https://api.github.com/repos/niceue/nice-validator/issues/201/events","html_url":"https://github.com/niceue/nice-validator/issues/201","id":124186822,"number":201,"title":"如何刷新表单中新添加的input的验证规则","user":{"login":"git-lt","id":8443758,"avatar_url":"https://avatars.githubusercontent.com/u/8443758?v=3","gravatar_id":"","url":"https://api.github.com/users/git-lt","html_url":"https://github.com/git-lt","followers_url":"https://api.github.com/users/git-lt/followers","following_url":"https://api.github.com/users/git-lt/following{/other_user}","gists_url":"https://api.github.com/users/git-lt/gists{/gist_id}","starred_url":"https://api.github.com/users/git-lt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/git-lt/subscriptions","organizations_url":"https://api.github.com/users/git-lt/orgs","repos_url":"https://api.github.com/users/git-lt/repos","events_url":"https://api.github.com/users/git-lt/events{/privacy}","received_events_url":"https://api.github.com/users/git-lt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-29T09:34:10Z","updated_at":"2015-12-29T10:00:11Z","closed_at":null,"body":"新添加的input验证规则乱了\r\n<img src=\"http://i4.tietuku.com/2adeaab6c23551c4.png\" />"},"comment":{"url":"https://api.github.com/repos/niceue/nice-validator/issues/comments/167759062","html_url":"https://github.com/niceue/nice-validator/issues/201#issuecomment-167759062","issue_url":"https://api.github.com/repos/niceue/nice-validator/issues/201","id":167759062,"user":{"login":"niceue","id":1498854,"avatar_url":"https://avatars.githubusercontent.com/u/1498854?v=3","gravatar_id":"","url":"https://api.github.com/users/niceue","html_url":"https://github.com/niceue","followers_url":"https://api.github.com/users/niceue/followers","following_url":"https://api.github.com/users/niceue/following{/other_user}","gists_url":"https://api.github.com/users/niceue/gists{/gist_id}","starred_url":"https://api.github.com/users/niceue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niceue/subscriptions","organizations_url":"https://api.github.com/users/niceue/orgs","repos_url":"https://api.github.com/users/niceue/repos","events_url":"https://api.github.com/users/niceue/events{/privacy}","received_events_url":"https://api.github.com/users/niceue/received_events","type":"User","site_admin":false},"created_at":"2015-12-29T10:00:11Z","updated_at":"2015-12-29T10:00:11Z","body":"@git-lt 哦，你的规则也是动态的吗？\r\n因为 name 肯定是一样的，所以不能应用多条规则。\r\n除非在 js 中用 id 的方式对应每个规则，或者在 DOM传参中不给 name，因为设置规则时 name 优先级是高于 id 的。\r\n\r\n或者你自定义这个规则，也可以很好解决问题"}}