陈少旭 6 months ago
parent
commit
518a3f6884
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/xt_pages/eleFaPiao/settleDetail.vue

+ 2 - 1
src/xt_pages/eleFaPiao/settleDetail.vue View File

568
           }else{
568
           }else{
569
             if(response.data.data.cus_status == 1){
569
             if(response.data.data.cus_status == 1){
570
               that.$nextTick(() =>{
570
               that.$nextTick(() =>{
571
+                that.$refs.qrCodeUrl.innerHTML = ''; // Clear the container
571
                 var qrcode = new QRCode(that.$refs.qrCodeUrl, {
572
                 var qrcode = new QRCode(that.$refs.qrCodeUrl, {
572
                   text: response.data.data.qr_code, // 需要转换为二维码的内容
573
                   text: response.data.data.qr_code, // 需要转换为二维码的内容
573
                   width: 120,
574
                   width: 120,
645
       }
646
       }
646
 
647
 
647
       var that = this;
648
       var that = this;
648
-      axios.get('http://that:9532/api/fapiao/blue',{params:params}).then(function(response) {
649
+      axios.get('http://127.0.0.1:9532/api/fapiao/blue',{params:params}).then(function(response) {
649
         if (response.data.state == 0) {
650
         if (response.data.state == 0) {
650
           that.$message.error(response.data.data.msg);
651
           that.$message.error(response.data.data.msg);
651
           return false
652
           return false