From 04990562a326e33f6a9e05aa456981ecc62fedd5 Mon Sep 17 00:00:00 2001 From: Mr Ke <kelq@hugeinfo.com.cn> Date: Wed, 27 May 2020 15:34:55 +0800 Subject: [PATCH] 1 --- SunshineIns/src/copy/fingerprint/指纹登记.html | 21 ++++++++++++--------- 1 files changed, 12 insertions(+), 9 deletions(-) diff --git "a/SunshineIns/src/copy/fingerprint/\346\214\207\347\272\271\347\231\273\350\256\260.html" "b/SunshineIns/src/copy/fingerprint/\346\214\207\347\272\271\347\231\273\350\256\260.html" index dc35eec..3e4a4d8 100644 --- "a/SunshineIns/src/copy/fingerprint/\346\214\207\347\272\271\347\231\273\350\256\260.html" +++ "b/SunshineIns/src/copy/fingerprint/\346\214\207\347\272\271\347\231\273\350\256\260.html" @@ -12,7 +12,7 @@ <script type="text/javascript" src="js/dhtmlxCommon.js"></script> </head> -<body onload="myfunction()"> +<body> <form method="post" id="fpVerifyForm" name="fpVerifyForm" action="authLoginAction!login.do?fpLogin=fpLogin" enctype="multipart/form-data" style="display: none"> <input type="hidden" id="verifyModel" name="verifyModel" /> <input type="hidden" id="verifyTemplate" @@ -45,7 +45,7 @@ <input type="hidden" id="whetherModify" name="whetherModify" alt="" value="111" /> <div style="position: absolute; left: 310px; top: 325px; width: 70px; height: 28px;"> - <button type="button" id="submitButtonId" name="makeSureName" onclick="submitEvent()" + <button type="button" id="submitButtonId" name="makeSureName" onclick="submitEvent(event)" class="button-form">确定</button> <!-- ${common_edit_ok}:确定 --> </div> @@ -59,13 +59,16 @@ </div> </body> <script> - window.addEventListener( - 'message', - function (e) { - console.log(e); - }, - false - ); + window.onload = function () { + myfunction(); + window.addEventListener( + 'message', + function (e) { + console.log('接受', e); + }, + false + ); + } </script> </html> \ No newline at end of file -- Gitblit v1.8.0