Commit 7241a32f by FE

add debugger

parent ede473ec
...@@ -26,6 +26,7 @@ class FollowBarcode extends Component { ...@@ -26,6 +26,7 @@ class FollowBarcode extends Component {
const _this = this; const _this = this;
return new Promise(resolve => { return new Promise(resolve => {
QRCode.toDataURL(data.url, {}, function (err, url) { QRCode.toDataURL(data.url, {}, function (err, url) {
console.log(url);
_this.setState({ _this.setState({
codeUrl: url codeUrl: url
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment