mirror of
https://github.com/Leo501/CocosCreatorTutorial.git
synced 2026-05-17 12:19:22 +08:00
完善生成二维码
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"ver": "1.0.1",
|
||||
"uuid": "7b81d4e8-ec84-4716-968d-500ac1d78a54",
|
||||
"isGroup": false,
|
||||
"subMetas": {}
|
||||
}
|
||||
Reference in New Issue
Block a user