Skip to content

Commit

Permalink
优化
Browse files Browse the repository at this point in the history
  • Loading branch information
wangliang181230 committed May 10, 2024
1 parent 23babc9 commit f139fbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions p/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ setTimeout(function () {
if (pid) {
doEnter(pid, needSavePid);
} else {
input.value = '116000000';
input.value = '116000000'; // 一个不错的PID起始值,值太小图不好看
}
input.focus(); // 自动获取焦点
}, 500);
Expand Down Expand Up @@ -282,7 +282,7 @@ function doEnter (pid, needSavePid) {
// 保存pid
curPid = pid;
if (needSavePid !== false) {
localStorage.setItem('pid', input.value);
localStorage.setItem('pid', pid);
}

imgs.innerHTML = ''; // 清空图片
Expand Down

0 comments on commit f139fbe

Please sign in to comment.