陈少旭 před 6 měsíci
rodič
revize
518a3f6884
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      src/xt_pages/eleFaPiao/settleDetail.vue

+ 2 - 1
src/xt_pages/eleFaPiao/settleDetail.vue Zobrazit soubor

@@ -568,6 +568,7 @@ export default {
568 568
           }else{
569 569
             if(response.data.data.cus_status == 1){
570 570
               that.$nextTick(() =>{
571
+                that.$refs.qrCodeUrl.innerHTML = ''; // Clear the container
571 572
                 var qrcode = new QRCode(that.$refs.qrCodeUrl, {
572 573
                   text: response.data.data.qr_code, // 需要转换为二维码的内容
573 574
                   width: 120,
@@ -645,7 +646,7 @@ export default {
645 646
       }
646 647
 
647 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 650
         if (response.data.state == 0) {
650 651
           that.$message.error(response.data.data.msg);
651 652
           return false