From 4b71f22719bd043c8ffad7cf6fc007378fe2f2e9 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期一, 08 六月 2020 13:53:57 +0800
Subject: [PATCH] #

---
 src/main/webapp/views/matCode/matCode.html |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/src/main/webapp/views/matCode/matCode.html b/src/main/webapp/views/matCode/matCode.html
index cb32b79..05142e5 100644
--- a/src/main/webapp/views/matCode/matCode.html
+++ b/src/main/webapp/views/matCode/matCode.html
@@ -176,7 +176,7 @@
                         <tr>
                             <td colspan="1" align="right" scope="col">鏉$爜</td>
                             <td class="barcode"colspan="3" align="left" scope="col">
-                                <img class="qrcode" src="/macCode/barcode/auth?param=123" width="80%">
+                                <img class="template-qrcode" src="" width="80%">
                             </td>
                         </tr>
                         <tr>
@@ -204,7 +204,12 @@
     </div>
 </div>
 
-<div id="box" style="display: block">
+<div id="box" style="display: block"></div>
+
+<!-- 鍒濆鍖栨墦鍗版ā鏉跨殑鏉″舰鐮� -->
+<script type="text/javascript">
+    $('.template-qrcode').attr("src", baseUrl+"/macCode/barcode/auth?param=123");
+</script>
 
 <!-- 妯℃澘寮曟搸 -->
 <!-- 妯℃澘1 -->
@@ -214,7 +219,7 @@
         <tr>
             <td colspan="1" align="right" scope="col">鏉$爜</td>
             <td class="barcode"colspan="3" align="left" scope="col">
-                <img class="qrcode" src="/macCode/barcode/auth?param={{this.barcode}}" width="80%">
+                <img class="qrcode" src="/macCode/barcode/auth?param={{this.barcodeUrl}}" width="80%">
             </td>
         </tr>
         <tr>

--
Gitblit v1.9.1