shawenguan před 1 rokem
rodič
revize
62ce774965
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      Scripts/telecom/cloud189Helper.js

+ 1 - 1
Scripts/telecom/cloud189Helper.js

@@ -118,7 +118,7 @@ async function getLoginUrl(){
 
 
 function findAll(regexPattern, text) {
-    const re = new RegExp(regexPattern, 'g'); // 'g' 标志表示全局搜索
+    const re = new RegExp(regexPattern); // 'g' 标志表示全局搜索
     let matches = text.match(re);
     magicJS.logger.error(JSON.stringify(matches));
     return matches || [];