Ver código fonte

解決打印多个二维码问题

xiaoming_global 6 anos atrás
pai
commit
02a3d4fc3e
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      src/xt_pages/user/components/PatientDetail.vue

+ 1 - 0
src/xt_pages/user/components/PatientDetail.vue Ver arquivo

@@ -1062,6 +1062,7 @@ export default {
1062 1062
     },
1063 1063
 
1064 1064
     qrcode(patientID, name, gender, idCardNo, dialysisNo, phone, healthCareNo) {
1065
+      document.getElementById("qrcode").innerHTML = "";
1065 1066
       new QRCode('qrcode', {
1066 1067
         width: 200,
1067 1068
         height: 200,