Replace window.location hard navigations with router.push/refresh

Fixkamo-internal
ส่งแล้ว
11 มีนาคม 2569 เวลา 17:38 UTC
ผู้เขียน
kamo
ตั้งค่า
3ba58d4

All window.location.href, window.location.assign(), and window.location.reload() calls in page components caused full page reloads, wiping all React state including open tool windows (chat, softphone, calculator). Replaced with: - router.push() in account/page.tsx, EmployeeManager.tsx, LeadManager.tsx, PipelineDashboardTab.tsx - Next.js <Link> in **************** - router.refresh() in AvatarManager.tsx (re-fetches server data, preserves client state — no full page reload)

เปลี่ยนแปลงทั้งหมด

เหมือนที่คุณเห็นการขนส่ง?

ทุก คน ที่ ได้ รับ การ ปรับ ปรุง เหล่า นี้ จะ ลง ไป ใน ที่ ทํา งาน ของ คุณ โดย อัตโนมัติ. เริ่มให้อิสระและดูมันเติบโตสัปดาห์แล้วสัปดาห์เล่า.

เริ่ม เป็น อิสระ ตลอด ไปแสดงพริ้นซ์