{"action":"created","issue":{"url":"https://api.github.com/repos/Meituan-Dianping/mpvue/issues/366","repository_url":"https://api.github.com/repos/Meituan-Dianping/mpvue","labels_url":"https://api.github.com/repos/Meituan-Dianping/mpvue/issues/366/labels{/name}","comments_url":"https://api.github.com/repos/Meituan-Dianping/mpvue/issues/366/comments","events_url":"https://api.github.com/repos/Meituan-Dianping/mpvue/issues/366/events","html_url":"https://github.com/Meituan-Dianping/mpvue/issues/366","id":317869814,"number":366,"title":"a链接怎么添加跳转参数","user":{"login":"Mrli2016","id":27286851,"avatar_url":"https://avatars2.githubusercontent.com/u/27286851?v=4","gravatar_id":"","url":"https://api.github.com/users/Mrli2016","html_url":"https://github.com/Mrli2016","followers_url":"https://api.github.com/users/Mrli2016/followers","following_url":"https://api.github.com/users/Mrli2016/following{/other_user}","gists_url":"https://api.github.com/users/Mrli2016/gists{/gist_id}","starred_url":"https://api.github.com/users/Mrli2016/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mrli2016/subscriptions","organizations_url":"https://api.github.com/users/Mrli2016/orgs","repos_url":"https://api.github.com/users/Mrli2016/repos","events_url":"https://api.github.com/users/Mrli2016/events{/privacy}","received_events_url":"https://api.github.com/users/Mrli2016/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-26T04:02:28Z","updated_at":"2018-04-26T16:07:18Z","closed_at":null,"author_association":"NONE","body":"# [问题简单描述]\r\na链接如何添加跳转参数\r\n目前我只能绑定点击事件 然后使用wx.navigateTo()进行跳转携带参数， 难道只能使用事件触发形式来么\r\n**问题复现步骤:**\r\n\r\n1. [第一步]\r\n2. [第二步]\r\n3. [其他步骤...]\r\n\r\n**期望的表现:**\r\n在我预想中在链接后面添加?id=xxx 在点击跳转后的下一个页面是能获取的\r\n\r\n**观察到的表现:**\r\n我使用a标签时 渲染后的navigator组件的src为空值\r\n\r\n**屏幕截图和动态 GIF 图**\r\n是我写的方式有问题吗\r\n![mpvue-a](https://user-images.githubusercontent.com/27286851/39285189-a598cafc-4949-11e8-9936-9bc0156baacf.png)\r\n"},"comment":{"url":"https://api.github.com/repos/Meituan-Dianping/mpvue/issues/comments/384697788","html_url":"https://github.com/Meituan-Dianping/mpvue/issues/366#issuecomment-384697788","issue_url":"https://api.github.com/repos/Meituan-Dianping/mpvue/issues/366","id":384697788,"user":{"login":"Mrli2016","id":27286851,"avatar_url":"https://avatars2.githubusercontent.com/u/27286851?v=4","gravatar_id":"","url":"https://api.github.com/users/Mrli2016","html_url":"https://github.com/Mrli2016","followers_url":"https://api.github.com/users/Mrli2016/followers","following_url":"https://api.github.com/users/Mrli2016/following{/other_user}","gists_url":"https://api.github.com/users/Mrli2016/gists{/gist_id}","starred_url":"https://api.github.com/users/Mrli2016/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mrli2016/subscriptions","organizations_url":"https://api.github.com/users/Mrli2016/orgs","repos_url":"https://api.github.com/users/Mrli2016/repos","events_url":"https://api.github.com/users/Mrli2016/events{/privacy}","received_events_url":"https://api.github.com/users/Mrli2016/received_events","type":"User","site_admin":false},"created_at":"2018-04-26T16:07:18Z","updated_at":"2018-04-26T16:07:18Z","author_association":"NONE","body":"@aOrz 哦哦 是的 果然是双括号里面相加字符串才行 如果更改跳转方式也是直接绑定官方属性吗 这方面文档讲到比较少 果然是我太渣了么 自己试了好久"}}
{"actor":{"display_login":"Mrli2016"}}