Quellcode durchsuchen

日志查询bug尝试修复

hl vor 1 Jahr
Ursprung
Commit
c9f5a38472
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      src/web.js

+ 1 - 1
src/web.js

@@ -36,7 +36,7 @@ function init() {
         var port = -1;
         robot.appMap.forEach((value, key) => {
             logger.info(JSON.stringify(value))
-            if (value.id === id) {
+            if (value.id + "" === id + "") {
                 port = value.port
             }
         })