Procházet zdrojové kódy

二维码配置bug修复

dongxin před 1 rokem
rodič
revize
4aa717140a
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  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>