{"action":"created","issue":{"url":"https://api.github.com/repos/RubyLouvre/avalon/issues/951","labels_url":"https://api.github.com/repos/RubyLouvre/avalon/issues/951/labels{/name}","comments_url":"https://api.github.com/repos/RubyLouvre/avalon/issues/951/comments","events_url":"https://api.github.com/repos/RubyLouvre/avalon/issues/951/events","html_url":"https://github.com/RubyLouvre/avalon/issues/951","id":98311107,"number":951,"title":"ms-attr-value属性能否用在select上，用于选中所属的option ..","user":{"login":"xyhp915","id":1779837,"avatar_url":"https://avatars.githubusercontent.com/u/1779837?v=3","gravatar_id":"","url":"https://api.github.com/users/xyhp915","html_url":"https://github.com/xyhp915","followers_url":"https://api.github.com/users/xyhp915/followers","following_url":"https://api.github.com/users/xyhp915/following{/other_user}","gists_url":"https://api.github.com/users/xyhp915/gists{/gist_id}","starred_url":"https://api.github.com/users/xyhp915/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xyhp915/subscriptions","organizations_url":"https://api.github.com/users/xyhp915/orgs","repos_url":"https://api.github.com/users/xyhp915/repos","events_url":"https://api.github.com/users/xyhp915/events{/privacy}","received_events_url":"https://api.github.com/users/xyhp915/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-31T03:49:36Z","updated_at":"2015-07-31T07:54:44Z","closed_at":"2015-07-31T06:51:25Z","body":"```html\r\n<select name=\"material\" id=\"\" class=\"form-control\" ms-attr-value=\"data.material\">\r\n  <option value…\r\n</select>\r\n```\r\n\r\n或者有什么其他的方法？"},"comment":{"url":"https://api.github.com/repos/RubyLouvre/avalon/issues/comments/126598107","html_url":"https://github.com/RubyLouvre/avalon/issues/951#issuecomment-126598107","issue_url":"https://api.github.com/repos/RubyLouvre/avalon/issues/951","id":126598107,"user":{"login":"xyhp915","id":1779837,"avatar_url":"https://avatars.githubusercontent.com/u/1779837?v=3","gravatar_id":"","url":"https://api.github.com/users/xyhp915","html_url":"https://github.com/xyhp915","followers_url":"https://api.github.com/users/xyhp915/followers","following_url":"https://api.github.com/users/xyhp915/following{/other_user}","gists_url":"https://api.github.com/users/xyhp915/gists{/gist_id}","starred_url":"https://api.github.com/users/xyhp915/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xyhp915/subscriptions","organizations_url":"https://api.github.com/users/xyhp915/orgs","repos_url":"https://api.github.com/users/xyhp915/repos","events_url":"https://api.github.com/users/xyhp915/events{/privacy}","received_events_url":"https://api.github.com/users/xyhp915/received_events","type":"User","site_admin":false},"created_at":"2015-07-31T07:54:44Z","updated_at":"2015-07-31T07:54:44Z","body":"嗯，MVVM难啃，确实是入门 :cry:  ，可能是我描述的问题，其实我是特意避开双工绑定的，可是当我将指令`ms-attr-value`用于`select`没起效果，后来单独测试了下，是可以的，可能是我这表单太特么复杂了，不知道哪儿出了问题，手头事情比较多，也来不及即刻仔细拜读源码，得空再看看。暂时用的$watch挂的钩子独立逻辑解决的。Thanks:)"}}