Skip to content

Commit

Permalink
优化
Browse files Browse the repository at this point in the history
  • Loading branch information
wangliang181230 committed May 16, 2024
1 parent 7dae83e commit 8e96b76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ let inFocus = false; // 输入框是否获取到了焦点
}

savePidList.push(pid);
savePidList.sort();
savePidList.sort((a, b) => a - b);
localStorage.setItem("savePidList", JSON.stringify(savePidList));
}
});
Expand Down

0 comments on commit 8e96b76

Please sign in to comment.