Skip to content

Commit

Permalink
优化
Browse files Browse the repository at this point in the history
  • Loading branch information
wangliang181230 committed May 3, 2024
1 parent 2531e25 commit 526cb87
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion p/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
clearPid();
}

if (pid.value !== '') {
if (pid.value === '') {
pid.value = localStorage.getItem('pid') || '116000000';
}

Expand Down Expand Up @@ -137,6 +137,9 @@
if (id !== curPid) {
return;
}

img.title += ` ${img.naturalWidth}✖️${img.naturalHeight}`;

count.innerHTML = n;
createImage(id, n + 1);
};
Expand Down

0 comments on commit 526cb87

Please sign in to comment.