From a5ecf598a757678d02c2930058c4a9164e855007 Mon Sep 17 00:00:00 2001 From: zhoupzh Date: Sun, 12 Sep 2021 17:37:06 +0800 Subject: [PATCH] fix bug #412 --- public/self/dataset_preview.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/self/dataset_preview.js b/public/self/dataset_preview.js index 37773f4c1..3c9ded0aa 100644 --- a/public/self/dataset_preview.js +++ b/public/self/dataset_preview.js @@ -626,7 +626,7 @@ function showfilelist(){ console.log(tmpIndex) if(tmpIndex != -1){ fname = labeltastresult[i].pic_image_field.substring(tmpIndex + 1); - fname = fname.substring(fname.indexOf('/')); + fname = fname.substring(fname.indexOf('/')+1); } }