dongxin 1 год назад
Родитель
Сommit
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(){
         $(function(){
 
 
             // document.getElementById('code').src = "https://www.baidu.com";
             // 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>
     </script>
 </body>
 </body>