移除测试数据

This commit is contained in:
xianyi
2025-11-26 09:20:04 +08:00
parent f3bea31e91
commit 0964664ea1
2 changed files with 2 additions and 4 deletions

View File

@@ -8,10 +8,6 @@ import DecorLine from "../../components/DecorLine";
import { getPackagItemDetail } from "../../api/hisApi"; import { getPackagItemDetail } from "../../api/hisApi";
const UI6: React.FC = () => { const UI6: React.FC = () => {
// !
localStorage.setItem("selectedExamId", "100030906");
const navigate = useNavigate(); const navigate = useNavigate();
const handleBack = () => { const handleBack = () => {

View File

@@ -19,6 +19,8 @@ const UI9: React.FC = () => {
const handleConfirm = useCallback(() => { const handleConfirm = useCallback(() => {
localStorage.removeItem("selectedExamId"); localStorage.removeItem("selectedExamId");
localStorage.removeItem("lastIdCardNo"); localStorage.removeItem("lastIdCardNo");
localStorage.removeItem("name");
localStorage.removeItem("gender");
navigate("/"); navigate("/");
}, [navigate]); }, [navigate]);