{"comment":{"url":"https://api.github.com/repos/lianshang/code-review-fe/comments/19678582","html_url":"https://github.com/lianshang/code-review-fe/commit/95226ddac55a373fd9fb970863e9646119bfbd21#commitcomment-19678582","id":19678582,"user":{"login":"hycugb","id":12724412,"avatar_url":"https://avatars.githubusercontent.com/u/12724412?v=3","gravatar_id":"","url":"https://api.github.com/users/hycugb","html_url":"https://github.com/hycugb","followers_url":"https://api.github.com/users/hycugb/followers","following_url":"https://api.github.com/users/hycugb/following{/other_user}","gists_url":"https://api.github.com/users/hycugb/gists{/gist_id}","starred_url":"https://api.github.com/users/hycugb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hycugb/subscriptions","organizations_url":"https://api.github.com/users/hycugb/orgs","repos_url":"https://api.github.com/users/hycugb/repos","events_url":"https://api.github.com/users/hycugb/events{/privacy}","received_events_url":"https://api.github.com/users/hycugb/received_events","type":"User","site_admin":false},"position":83,"line":83,"path":"huangyi/nav/nav.js","commit_id":"95226ddac55a373fd9fb970863e9646119bfbd21","created_at":"2016-11-03T13:43:55Z","updated_at":"2016-11-03T13:43:55Z","body":"@shishuo119 这个名字确实起得不好，自己当时也没想好。render的方法是在Vue的底层实现的。其实原理上就是预设一个Vue component的配置，通过第三个参数添加一个挂载元素。真正的new ViewModel是在调用$$Component时使用。我觉得叫一个defaultNavConf也可以，设置组件的一些默认配置。"}}
{"actor":{"display_login":"hycugb"}}