diff --git a/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue b/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue index 7c48bb8d..6a85dd20 100644 --- a/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue +++ b/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue @@ -705,7 +705,9 @@ console.log('targetKeys: ', nextTargetKeys) console.log('direction: ', direction) console.log('moveKeys: ', moveKeys) - targetKeys.value = moveKeys.filter((item, index) => index === 0) + if (direction === 'right') { + targetKeys.value = moveKeys.filter((item, index) => index === 0) + } } const handleSelectChange = (sourceSelectedKeys, targetSelectedKeys) => {