fix: 在制品点击改为应用内跳转扫码详情页(流转树)

This commit is contained in:
2026-08-12 14:45:09 +08:00
parent 729de138cd
commit ddc34182dd

View File

@ -81,9 +81,7 @@ function WipRow({ t }: { t: WipTask }) {
const nav = useNavigate(); const nav = useNavigate();
const handleClick = () => { const handleClick = () => {
if (t.product_sn) { if (t.product_sn) {
// 跳转到扫码详情页 nav(`/scan?sn=${t.product_sn}`);
const base = window.location.origin;
window.open(`${base}/scan?sn=${t.product_sn}`, "_blank");
} }
}; };
return ( return (