Explorar el Código

type fix 2

fix負數倉
kelvin.yau hace 6 días
padre
commit
11d133562d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      src/components/Shop/RouteBoard.tsx

+ 1
- 1
src/components/Shop/RouteBoard.tsx Ver fichero

@@ -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;


Cargando…
Cancelar
Guardar