Explorar o código

计算式检查调整

MaiXinRong %!s(int64=5) %!d(string=hai) anos
pai
achega
36fb618bcc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/public/js/stage_pay.js

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

@@ -849,7 +849,7 @@ $(document).ready(() => {
             if (field === 'expr') {
                 data.type = 'stage';
                 data.updateData = { pid: select.pid, tp: null, expr: newValue };
-                const [valid, msg] = paySpreadObj._checkSExpr(select, newValue, data.updateData);
+                const [valid, msg] = paySpreadObj._checkExpr(select, newValue, data.updateData);
                 if (!valid) {
                     toastr.warning(msg);
                     this.value = select.expr;