{"action":"closed","issue":{"url":"https://api.github.com/repos/RubyLouvre/avalon/issues/869","labels_url":"https://api.github.com/repos/RubyLouvre/avalon/issues/869/labels{/name}","comments_url":"https://api.github.com/repos/RubyLouvre/avalon/issues/869/comments","events_url":"https://api.github.com/repos/RubyLouvre/avalon/issues/869/events","html_url":"https://github.com/RubyLouvre/avalon/issues/869","id":87280410,"number":869,"title":"当avalon.scan()执行过后，如何在avalon的参数中传入一个有变化的值，","user":{"login":"Zjingwen","id":8531277,"avatar_url":"https://avatars.githubusercontent.com/u/8531277?v=3","gravatar_id":"","url":"https://api.github.com/users/Zjingwen","html_url":"https://github.com/Zjingwen","followers_url":"https://api.github.com/users/Zjingwen/followers","following_url":"https://api.github.com/users/Zjingwen/following{/other_user}","gists_url":"https://api.github.com/users/Zjingwen/gists{/gist_id}","starred_url":"https://api.github.com/users/Zjingwen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zjingwen/subscriptions","organizations_url":"https://api.github.com/users/Zjingwen/orgs","repos_url":"https://api.github.com/users/Zjingwen/repos","events_url":"https://api.github.com/users/Zjingwen/events{/privacy}","received_events_url":"https://api.github.com/users/Zjingwen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-11T09:36:35Z","updated_at":"2015-06-11T09:38:03Z","closed_at":"2015-06-11T09:38:03Z","body":"一个项目中的问题，将avalon，放到一个函数中，我需要向里面传值。\r\n```html\r\n\t<div class=\"div\" ms-controller=\"zhou\">\r\n\t\t<div name=\"cli\" date-a=\"1234\" ms-click=\"show()\">123</div><div name=\"cli\" date-a=\"4321\" ms-click=\"show()\">321</div>\r\n\t\t<div ms-text=\"txt\"></div>\r\n\t</div>\r\n\t\t<script type=\"text/javascript\">\r\n\r\n\t\tvar fun=function(sum){\r\n\t\t\tavalon.ready(function(){\r\n\t\t\t\tvar s=avalon.define({\r\n\t\t\t\t\t$id:\"zhou\",\r\n\t\t\t\t\ttxt:'',\r\n\t\t\t\t\tshow:function(){\r\n\t\t\t\t\t\ts.txt=sum;\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t\tavalon.scan();\r\n\t\t\t})\r\n\t\t};\r\n\t\tvar clic=document.getElementsByName(\"cli\");\r\n\t\tfor(i=0;i<clic.length;i++){\r\n\t\t\tclic[i].onclick=function(){\r\n\t\t\t\tfun(this.getAttribute(\"date-a\"));\r\n\t\t\t}\r\n\t\t}\r\n\t</script>\r\n```\r\n代码提示warning: zhou 已经存在于avalon.vmodels中，也就是说，avalon经过第一次绚烂之后，往里面传值，是一种保存行为，不能二次，渲染吗?\r\n如果我要实现同样功能，需要怎么处理呢？"}}