From 3d3e2729ed7a3a25ce83212d1e43c62d664b3ac4 Mon Sep 17 00:00:00 2001 From: gaoyuanwei <2826352639@qq.com> Date: Mon, 18 Jul 2022 16:03:06 +0800 Subject: [PATCH] 623bug --- .../src/views/capacityOnTheShelf/components/PutOnTheShelf.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) => {