{"action":"created","issue":{"url":"https://api.github.com/repos/RubyLouvre/mmRouter/issues/77","labels_url":"https://api.github.com/repos/RubyLouvre/mmRouter/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/RubyLouvre/mmRouter/issues/77/comments","events_url":"https://api.github.com/repos/RubyLouvre/mmRouter/issues/77/events","html_url":"https://github.com/RubyLouvre/mmRouter/issues/77","id":94912811,"number":77,"title":"请问ignoreChange有哪些使用场景或者推荐的用法抑或最佳实践！","user":{"login":"IndexXuan","id":6322673,"avatar_url":"https://avatars.githubusercontent.com/u/6322673?v=3","gravatar_id":"","url":"https://api.github.com/users/IndexXuan","html_url":"https://github.com/IndexXuan","followers_url":"https://api.github.com/users/IndexXuan/followers","following_url":"https://api.github.com/users/IndexXuan/following{/other_user}","gists_url":"https://api.github.com/users/IndexXuan/gists{/gist_id}","starred_url":"https://api.github.com/users/IndexXuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IndexXuan/subscriptions","organizations_url":"https://api.github.com/users/IndexXuan/orgs","repos_url":"https://api.github.com/users/IndexXuan/repos","events_url":"https://api.github.com/users/IndexXuan/events{/privacy}","received_events_url":"https://api.github.com/users/IndexXuan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-14T10:15:12Z","updated_at":"2015-08-21T08:15:01Z","closed_at":null,"body":"看了mmRouter-demo-list里在列表页用了，还有源码文档里写了几句。还是有些疑问。请正妹老师说几句或者有使用心得的朋友总结一下。感觉这个属性应该对性能优化有帮助但是不应该滥用吧。\r\n\r\n源码里写道：  更新视图时调用该函数，为true时不会去重写视图和scan，请确保该视图内用到的数据没有放到avalon vmodel $skipArray内。\r\n列子里写道：  url通过{}配置的参数变量发生变化的时候是否通过innerHTML重刷ms-view，默认会，如果你做的是翻页应用，建议使用例子内的配置，把数据更新到vmodel上即可。\r\n\r\n如果做类似做题的场景，题目经常切换且很多，而且题目类型不同会使用不同的模版，该使用这个属性吗？\r\n    "},"comment":{"url":"https://api.github.com/repos/RubyLouvre/mmRouter/issues/comments/133326498","html_url":"https://github.com/RubyLouvre/mmRouter/issues/77#issuecomment-133326498","issue_url":"https://api.github.com/repos/RubyLouvre/mmRouter/issues/77","id":133326498,"user":{"login":"gogoyqj","id":1776278,"avatar_url":"https://avatars.githubusercontent.com/u/1776278?v=3","gravatar_id":"","url":"https://api.github.com/users/gogoyqj","html_url":"https://github.com/gogoyqj","followers_url":"https://api.github.com/users/gogoyqj/followers","following_url":"https://api.github.com/users/gogoyqj/following{/other_user}","gists_url":"https://api.github.com/users/gogoyqj/gists{/gist_id}","starred_url":"https://api.github.com/users/gogoyqj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gogoyqj/subscriptions","organizations_url":"https://api.github.com/users/gogoyqj/orgs","repos_url":"https://api.github.com/users/gogoyqj/repos","events_url":"https://api.github.com/users/gogoyqj/events{/privacy}","received_events_url":"https://api.github.com/users/gogoyqj/received_events","type":"User","site_admin":false},"created_at":"2015-08-21T08:15:01Z","updated_at":"2015-08-21T08:15:01Z","body":"@IndexXuan ignoreChange是用来，做翻页这种东西【我的例子里应该很清楚的表现了这个意思】 - 设置为true就以为这，这块视图如果只是params活着query变化，那么就不通过innerHTML来更新，而是让avalon mvvm来更新dom"}}