Skip to content

Commit f1a7481

Browse files
authored
Update ht.html
1 parent c83091a commit f1a7481

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

denlu/ht.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,8 @@ <h2 style="margin-top: 30px;">访问记录</h2>
168168
ipRecords.unshift(ipInfo);
169169

170170
// 保持最多100条记录
171-
if (ipRecords.length > 20) {
172-
ipRecords = ipRecords.slice(0, 100);
171+
if (ipRecords.length > 8) {
172+
ipRecords = ipRecords.slice(0, 8);
173173
}
174174

175175
// 保存到本地存储

0 commit comments

Comments
 (0)