Parcourir la source

type fix 2

fix負數倉
kelvin.yau il y a 6 jours
Parent
révision
11d133562d
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      src/components/Shop/RouteBoard.tsx

+ 1
- 1
src/components/Shop/RouteBoard.tsx Voir le fichier

@@ -4090,7 +4090,7 @@ const RouteBoard: React.FC = () => {
if (oldId === newId) return;
setDirtyMoves((prev) => {
const next = new Map(prev);
for (const [shopId, laneId] of next) {
for (const [shopId, laneId] of Array.from(next.entries())) {
if (laneId === oldId) next.set(shopId, newId);
}
return next;


Chargement…
Annuler
Enregistrer