From 1d38b8a8acc3638acf7835e4e1f465920a62dc35 Mon Sep 17 00:00:00 2001 From: zhoupzh Date: Thu, 23 Sep 2021 15:51:35 +0800 Subject: [PATCH] fix #437 --- public/self/js/Director/detection.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/self/js/Director/detection.js b/public/self/js/Director/detection.js index 5bd98d1c2..b165e0ddc 100644 --- a/public/self/js/Director/detection.js +++ b/public/self/js/Director/detection.js @@ -712,7 +712,7 @@ function loadimg(){ reset_var(); var picturePath = labeltastresult[fileindex].pic_image_field; img.src = ip + "/getgiteaimage?filename=" + picturePath; - console.log("picturePath",picturePath) + var picIndex = picturePath.indexOf("/",70); if(picIndex != -1){ @@ -721,8 +721,8 @@ function loadimg(){ }else{ float_text_name = picturePath.substring(picturePath.lastIndexOf("/") + 1) } - console.log("float_text_name",float_text_name) - var html = float_text_name + "  "+ "(" + (tablePageData.current * pageSize + fileindex + 1) + "/" + tablePageData.total + ")" + + var html = float_text_name + "    "+ "(" + (tablePageData.current * pageSize + fileindex + 1) + "/" + tablePageData.total + ")" document.getElementById("float_text").innerHTML = html; } function save(){