From 80672064df60264420130a1e3f6622fcb5cd16c1 Mon Sep 17 00:00:00 2001 From: zhoupzh Date: Sun, 12 Sep 2021 16:30:45 +0800 Subject: [PATCH] fix issue 407 --- public/self/dataset_preview.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/self/dataset_preview.js b/public/self/dataset_preview.js index 648834d83..acda325c8 100644 --- a/public/self/dataset_preview.js +++ b/public/self/dataset_preview.js @@ -573,7 +573,10 @@ function next(){ function clickLast(){ if(fileindex == 0){ + lastindex=true; prePage(); + lastindex=false; + }else{ last(); }