zou.yingbin 4 年 前
コミット
491504b2f8
1 ファイル変更1 行追加1 行削除
  1. 1 1
      controllers/other/logfilelist.go

+ 1 - 1
controllers/other/logfilelist.go

@@ -120,7 +120,7 @@ func GetVerlist(host string) string {
 			for i := range sName {
 				strVerList += fmt.Sprintf(`<a href="%v/debug/update?filename=%v" target="_blank">%v</a>`, host, sName[i], sName[i]) + "<br>"
 				// 取最近n条
-				if i > 5 {
+				if i >= 4 {
 					break
 				}
 			}