MaiXinRong 3 달 전
부모
커밋
d6d63ae3fd
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/public/js/phase_pay_detail.js

+ 1 - 1
app/public/js/phase_pay_detail.js

@@ -158,7 +158,7 @@ $(document).ready(() => {
             }
             }
             trans2NodeExpr(expr, payTree) {
             trans2NodeExpr(expr, payTree) {
                 const orderParam = [...expr.matchAll(this.orderReg)];
                 const orderParam = [...expr.matchAll(this.orderReg)];
-                if (!orderParam) return expr;
+                if (!orderParam || orderParam.length === 0) return expr;
 
 
                 orderParam.forEach(op => {
                 orderParam.forEach(op => {
                     op.matchLength = op[0].length;
                     op.matchLength = op[0].length;