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 8d5b06c commit 2531e25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions p/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@
}

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

enter();

pid.focus(); // 自动获取焦点
pid.selectionStart = pid.selectionEnd = pid.value.length; // 光标移到最后面

Expand Down

0 comments on commit 2531e25

Please sign in to comment.