Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问,有生成二维码以后的回调吗 #22

Open
shangqi123 opened this issue Nov 27, 2018 · 2 comments
Open

请问,有生成二维码以后的回调吗 #22

shangqi123 opened this issue Nov 27, 2018 · 2 comments

Comments

@shangqi123
Copy link

No description provided.

@xyytwz
Copy link

xyytwz commented May 25, 2019

没找到,不过可以在这里做回调:
var self = this
qrcode = new QRCode('canvas'+self.data.index, {
......
});
//二维码合成后,向页面发出反馈,并将当前二维码索引返回页面
const myEventDetail = {
index: self.data.index
} // detail对象,提供给事件监听函数
const myEventOption = {} // 触发事件的选项
self.triggerEvent('loadQrcode', myEventDetail, myEventOption)

@yanglingyun001
Copy link

不用回调就可以感觉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants