MaiXinRong 4 月之前
父節點
當前提交
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) {
                 const orderParam = [...expr.matchAll(this.orderReg)];
-                if (!orderParam) return expr;
+                if (!orderParam || orderParam.length === 0) return expr;
 
                 orderParam.forEach(op => {
                     op.matchLength = op[0].length;