From 58ae2ba21efcd85df331cf996a94038a77302b51 Mon Sep 17 00:00:00 2001
From: Mr Ke <kelq@hugeinfo.com.cn>
Date: Wed, 27 May 2020 17:07:48 +0800
Subject: [PATCH] 修改报错问题
---
SunshineIns/src/copy/fingerprint/js/main.js | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/SunshineIns/src/copy/fingerprint/js/main.js b/SunshineIns/src/copy/fingerprint/js/main.js
index e9f0c1b..ca7a9b7 100644
--- a/SunshineIns/src/copy/fingerprint/js/main.js
+++ b/SunshineIns/src/copy/fingerprint/js/main.js
@@ -329,7 +329,6 @@
*/
function submitEvent() {
storeDataToHtml();
- window.top.postMessage('message from iframe1');
showFPCount('指纹数:');
//closeWindow();
close();
@@ -343,7 +342,11 @@
//返回码
var ret = null;
ret = result.ret;
- console.log('template',result.data.template)
+ console.log('template',result.data.template);
+ window.top.postMessage({
+ fingerCode: result.data.template,
+ display: 'none'
+ });
}
})
}
--
Gitblit v1.8.0