MaiXinRong 3 месяцев назад
Родитель
Сommit
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;