From bd95759a81334e3071c83cdcafc7d05e7d687ad4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A2=81=E5=B8=85?= Date: Tue, 16 Aug 2022 11:15:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=A4=9A=E4=BD=99=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/faceLoginIE/index.html | 5 ----- 1 file changed, 5 deletions(-) diff --git a/public/faceLoginIE/index.html b/public/faceLoginIE/index.html index 79fd187..ef667b2 100644 --- a/public/faceLoginIE/index.html +++ b/public/faceLoginIE/index.html @@ -29,10 +29,6 @@ //post>= 4 * 320(x轴像素) * 240(y轴像素) 表示读取图像数据完毕 if (pos >= 4 * 320 * 240) { window.parent.postMessage({"image":image.join('|')}, '*'); - // var url ='http://127.0.0.1:8081/outer/v1.0/stock/logicStock/rgbArray2Base64'; - // $.post(url, {type: 'pixel', rgb: image.join('|')}, function(result){ - // $('#base64image').attr('src', 'data:image/jpg;base64,' + result.data); - // }); image = new Array(); pos = 0; } @@ -59,7 +55,6 @@ }); function receiveMessageFromParent ( event ) { - console.log(event.data); $('#base64image').attr('src', 'data:image/jpg;base64,' + event.data.data); };