shawenguan 1 year ago
parent
commit
b4e7e91791
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Scripts/unicom/unicomHelper.js

+ 2 - 2
Scripts/unicom/unicomHelper.js

@@ -384,12 +384,12 @@ function handleFlowManagement() {
     let outputString = rspData;
     if (outputString.indexOf('timeType:"AM"') != -1) {
         let regex = /\(\{timeNum:-?\d+,timeType:"AM"\}\)/g;
-        let newValue = '({timeNum:-1,timeType:"AM"})';
+        let newValue = '({timeNum:0,timeType:"AM"})';
         outputString = outputString.replace(regex, newValue);
         gRetBody = outputString;
     } else if (outputString.indexOf('timeType:"PM"') != -1) {
         let regex = /\(\{timeNum:-?\d+,timeType:"PM"\}\)/g;
-        let newValue = '({timeNum:-1,timeType:"PM"})';
+        let newValue = '({timeNum:0,timeType:"PM"})';
         outputString = outputString.replace(regex, newValue);
         gRetBody = outputString;
     }