签约流程,指纹登录
diff --git a/www/js/qrcode.js b/www/js/qrcode.js
index b9d81b9..51b2aa1 100644
--- a/www/js/qrcode.js
+++ b/www/js/qrcode.js
@@ -22,6 +22,10 @@
console.log(err);
});
}
+ document.addEventListener("backbutton", function(e){
+ e.preventDefault();
+ app.backTo();
+ }, false);
},
loadQrcode: function() {
$.showLoading("加载中");
@@ -62,6 +66,7 @@
if (ok) {
if (ret.code == 200) {
$.hideLoading();
+ $("#qrcode").html('');
var qrcode = new QRCode(document.getElementById("qrcode"), {
text: ret.qrcode,
width: 200,