ソースを参照

二维码配置bug修复

dongxin 1 年間 前
コミット
4aa717140a
1 ファイル変更2 行追加2 行削除
  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>