Преглед на файлове

二维码配置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>