Browse Source

解決打印多个二维码问题

xiaoming_global 6 years ago
parent
commit
02a3d4fc3e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/xt_pages/user/components/PatientDetail.vue

+ 1 - 0
src/xt_pages/user/components/PatientDetail.vue View File

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