{"action":"created","issue":{"url":"https://api.github.com/repos/xkeshi/vue-qrcode/issues/8","repository_url":"https://api.github.com/repos/xkeshi/vue-qrcode","labels_url":"https://api.github.com/repos/xkeshi/vue-qrcode/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/xkeshi/vue-qrcode/issues/8/comments","events_url":"https://api.github.com/repos/xkeshi/vue-qrcode/issues/8/events","html_url":"https://github.com/xkeshi/vue-qrcode/issues/8","id":301664359,"number":8,"title":"value值动态绑定的，微信扫一扫得到的值不对","user":{"login":"zhujinhu21","id":4327149,"avatar_url":"https://avatars2.githubusercontent.com/u/4327149?v=4","gravatar_id":"","url":"https://api.github.com/users/zhujinhu21","html_url":"https://github.com/zhujinhu21","followers_url":"https://api.github.com/users/zhujinhu21/followers","following_url":"https://api.github.com/users/zhujinhu21/following{/other_user}","gists_url":"https://api.github.com/users/zhujinhu21/gists{/gist_id}","starred_url":"https://api.github.com/users/zhujinhu21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhujinhu21/subscriptions","organizations_url":"https://api.github.com/users/zhujinhu21/orgs","repos_url":"https://api.github.com/users/zhujinhu21/repos","events_url":"https://api.github.com/users/zhujinhu21/events{/privacy}","received_events_url":"https://api.github.com/users/zhujinhu21/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-02T06:14:20Z","updated_at":"2018-03-06T03:24:08Z","closed_at":null,"author_association":"NONE","body":"<qrcode value=\"TicketInfo.OrderID\" v-bind:options=\"{size:150 }\" tag=\"img\"></qrcode>\r\nTicketInfo.OrderID是从后台获取绑定的。\r\n微信扫一扫得到的值是”TicketInfo.OrderID“，不是实际动态绑定的值"},"comment":{"url":"https://api.github.com/repos/xkeshi/vue-qrcode/issues/comments/370649600","html_url":"https://github.com/xkeshi/vue-qrcode/issues/8#issuecomment-370649600","issue_url":"https://api.github.com/repos/xkeshi/vue-qrcode/issues/8","id":370649600,"user":{"login":"zhujinhu21","id":4327149,"avatar_url":"https://avatars2.githubusercontent.com/u/4327149?v=4","gravatar_id":"","url":"https://api.github.com/users/zhujinhu21","html_url":"https://github.com/zhujinhu21","followers_url":"https://api.github.com/users/zhujinhu21/followers","following_url":"https://api.github.com/users/zhujinhu21/following{/other_user}","gists_url":"https://api.github.com/users/zhujinhu21/gists{/gist_id}","starred_url":"https://api.github.com/users/zhujinhu21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhujinhu21/subscriptions","organizations_url":"https://api.github.com/users/zhujinhu21/orgs","repos_url":"https://api.github.com/users/zhujinhu21/repos","events_url":"https://api.github.com/users/zhujinhu21/events{/privacy}","received_events_url":"https://api.github.com/users/zhujinhu21/received_events","type":"User","site_admin":false},"created_at":"2018-03-06T03:24:08Z","updated_at":"2018-03-06T03:24:08Z","author_association":"NONE","body":"html代码 \r\n<div class=\"QR_code\">\r\n            <qrcode value=\"TicketInfo.OrderID\" v-bind:options=\"{size:150 }\" tag=\"img\"></qrcode>\r\n </div>\r\n\r\njs代码\r\n<script type=\"text/javascript\">\r\n        var app = new Vue({\r\n            el: '#ticket',\r\n            data: {\r\n                TicketInfo: { service: { title: '' }, user: { name: '' }, OrderID: 0 },\r\n            },\r\n            components: {\r\n                qrcode: VueQrcode,\r\n                barcode: VueBarcode\r\n            },\r\n            mounted: function () {\r\n                this.GetTicket();\r\n            },\r\n            methods: {\r\n                GetTicket: function () {\r\n                    var _self = this;\r\n                    axios.get('/api/Queue/GetWait', { params: { ID: '@ViewBag.Id' } })\r\n                    .then(function (res) {\r\n                        if (res.data.code == 200) {\r\n                            _self.TicketInfo = res.data.data;\r\n                        }\r\n                    });\r\n                }\r\n            }\r\n        })\r\n    </script>"}}
{"actor":{"display_login":"zhujinhu21"}}