Procházet zdrojové kódy

Transaction V2 api request method error.
https://dev.wormwood.com.sg/zentao/task-view-504.html

vbea před 1 rokem
rodič
revize
c6deee8056

+ 1 - 1
Strides-Admin/src/http/api/transaction.js

@@ -22,7 +22,7 @@ const transaction = {
   },
   },
   endTransaction: (params) => get('transaction/endTransaction', params),
   endTransaction: (params) => get('transaction/endTransaction', params),
   endTransactionV2(params) {
   endTransactionV2(params) {
-    return get(prefix + 'transaction/manual-settlement', params)
+    return post(prefix + 'transaction/manual-settlement', params)
   } 
   } 
 }
 }
 
 

+ 3 - 4
Strides-Admin/src/views/charge/components/LumiQRCode.vue

@@ -44,12 +44,11 @@ export default {
         if (value) {
         if (value) {
           this.$nextTick(() => {
           this.$nextTick(() => {
             if (this.id !== this.item.connectorPk) {
             if (this.id !== this.item.connectorPk) {
+              this.qrcode = "";
               this.loading = true;
               this.loading = true;
-              this.getQRCode()
+              this.getQRCode();
             }
             }
-          })
-        } else {
-          this.qrcode = ""
+          });
         }
         }
       },
       },
     }
     }