This commit is contained in:
parent
feeb9eece7
commit
3736d0708b
|
@ -46,9 +46,7 @@ module.exports = {
|
|||
},
|
||||
methods: {
|
||||
getQR(id) {
|
||||
const data = String(id);
|
||||
|
||||
return qrcode.toDataURL(data, {margin: 0});
|
||||
return qrcode.toDataURL(String(id), {margin: 0});
|
||||
},
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue