{"action":"closed","issue":{"url":"https://api.github.com/repos/RubyLouvre/avalon/issues/916","labels_url":"https://api.github.com/repos/RubyLouvre/avalon/issues/916/labels{/name}","comments_url":"https://api.github.com/repos/RubyLouvre/avalon/issues/916/comments","events_url":"https://api.github.com/repos/RubyLouvre/avalon/issues/916/events","html_url":"https://github.com/RubyLouvre/avalon/issues/916","id":95397831,"number":916,"title":"建议不要取消data-duplex-changed","user":{"login":"gxrsprite","id":6988665,"avatar_url":"https://avatars.githubusercontent.com/u/6988665?v=3","gravatar_id":"","url":"https://api.github.com/users/gxrsprite","html_url":"https://github.com/gxrsprite","followers_url":"https://api.github.com/users/gxrsprite/followers","following_url":"https://api.github.com/users/gxrsprite/following{/other_user}","gists_url":"https://api.github.com/users/gxrsprite/gists{/gist_id}","starred_url":"https://api.github.com/users/gxrsprite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gxrsprite/subscriptions","organizations_url":"https://api.github.com/users/gxrsprite/orgs","repos_url":"https://api.github.com/users/gxrsprite/repos","events_url":"https://api.github.com/users/gxrsprite/events{/privacy}","received_events_url":"https://api.github.com/users/gxrsprite/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-16T09:55:03Z","updated_at":"2015-07-28T08:10:20Z","closed_at":"2015-07-28T08:10:20Z","body":"如果没有这个东西，只有两个办法\r\n1：拦截器\r\n拦截器主要用于通用功能，但是比如我要保存数据呢？ 做个savedata拦截器？ 这个方法理因在vm内部的，而不是变成通用方法，更不应该能横跨多个vm。意义完全不同。\r\n\r\n2：$watch\r\nwatch也是类似的，一方面功能放到了vm外部 脱离vm，另一方面也没法监控数组内的更改有局限性。\r\n意义有点类似但有局限性。\r\n\r\n所以没有东西能够代替data-duplex-changed，反而需要加强他。"}}