Commit 79be75d3 authored by 吴春's avatar 吴春

修复线上匹配

parent c8b0b91d
...@@ -803,9 +803,9 @@ export default { ...@@ -803,9 +803,9 @@ export default {
if(wechat==null&&zhifu==null&&barcode==""){ if(wechat==null&&zhifu==null&&barcode==""){
return; return;
} }
if(zhifu==null&&wechat!=null&&wechat.length>20){ if(zhifu==null&&wechat!=null&&wechat.length>0&&wechat[wechat.length-1].length>20){
this.setCode = wechat[wechat.length-1].replace('商户单号',''); this.setCode = wechat[wechat.length-1].replace('商户单号','');
}else if(wechat==null&&zhifu!=null&&zhifu.length>20){ }else if(wechat==null&&zhifu!=null&&zhifu.length>0&&zhifu[zhifu.length-1].length>20){
this.setCode = zhifu[zhifu.length-1].replace('商家可扫码退款或查询交易',''); this.setCode = zhifu[zhifu.length-1].replace('商家可扫码退款或查询交易','');
}else if(barcode!=""){ }else if(barcode!=""){
this.setCode=barcode; this.setCode=barcode;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment