完善生成二维码

This commit is contained in:
leo
2019-01-17 16:27:28 +08:00
parent 5ce02b7115
commit 332e7acd09
2 changed files with 1 additions and 6 deletions

View File

@@ -9,6 +9,7 @@ cc.Class({
},
init(url){
//注意 最好把qrImage与qrcode的节点长宽设置为2的倍数。不然可能会出现无法识别二维码
var ctx = this.node.addComponent(cc.Graphics);
if (typeof (url) !== 'string') {
console.log('url is not string',url);

View File

@@ -1,6 +0,0 @@
{
"ver": "1.0.1",
"uuid": "7b81d4e8-ec84-4716-968d-500ac1d78a54",
"isGroup": false,
"subMetas": {}
}