From 4d01131e745eb8a5015ef59df42980282a1679b5 Mon Sep 17 00:00:00 2001 From: gaoyuanwei <2826352639@qq.com> Date: Tue, 19 Jul 2022 11:26:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9D=A5=E6=BA=90=E5=BA=94=E7=94=A8=E7=A9=BF?= =?UTF-8?q?=E6=A2=AD=E6=A1=86=E5=B7=A6=E4=BE=A7=E5=AE=9E=E7=8E=B0=E5=8D=95?= =?UTF-8?q?=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/capacityOnTheShelf/components/PutOnTheShelf.vue | 3 +++ .../components/LayerService/LayerServiceUsageMode.vue | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue b/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue index d7a45ddb..d6fd6dc8 100644 --- a/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue +++ b/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue @@ -726,6 +726,9 @@ const handleSelectChange = (sourceSelectedKeys, targetSelectedKeys) => { console.log('targetSelectedKeys: ', targetSelectedKeys, sourceSelectedKeys) + // 左侧单选 + selectedKeys.value = [sourceSelectedKeys[sourceSelectedKeys.length - 1]] + console.log('after', sourceSelectedKeys) } const handleOk = (e) => { diff --git a/front/src/views/detailsAll/components/LayerService/LayerServiceUsageMode.vue b/front/src/views/detailsAll/components/LayerService/LayerServiceUsageMode.vue index 79ac9571..1c26e4dc 100644 --- a/front/src/views/detailsAll/components/LayerService/LayerServiceUsageMode.vue +++ b/front/src/views/detailsAll/components/LayerService/LayerServiceUsageMode.vue @@ -367,12 +367,12 @@ p { // width: 1.60rem; height: 0.2rem; + margin-right: 0.15rem; + overflow: hidden; + text-overflow: ellipsis; display: -webkit-box; - // overflow: hidden; - white-space: nowrap; -webkit-line-clamp: 1; -webkit-box-orient: vertical; - margin-right: 0.15rem; word-break: break-all; span {