Ver Fonte

二维码配置bug修复

dongxin há 1 ano atrás
pai
commit
4aa717140a
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      src/main/resources/template/html/qrcode.html

+ 2 - 2
src/main/resources/template/html/qrcode.html

@@ -233,8 +233,8 @@
         $(function(){
 
             // document.getElementById('code').src = "https://www.baidu.com";
-            // console.log($('#codeUrl').val())
-            $('#code').qrcode("https://www.baidu.com");
+            // console.log()
+            $('#code').qrcode($('#codeUrl').val());
         });
     </script>
 </body>