From a7c5ca8f480809a12ef151a7fe67430ba31c46c2 Mon Sep 17 00:00:00 2001 From: Hefeng <1057605508@qq.com> Date: Tue, 30 Jan 2024 13:24:07 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20select-transfer-modal=20=20=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/select-transfer-modal/index.vue | 45 +++++++++++------------- types/auto-imports.d.ts | 2 -- 2 files changed, 20 insertions(+), 27 deletions(-) diff --git a/packages/select-transfer-modal/index.vue b/packages/select-transfer-modal/index.vue index 4cc4c6d..e65032b 100644 --- a/packages/select-transfer-modal/index.vue +++ b/packages/select-transfer-modal/index.vue @@ -14,15 +14,14 @@ - +
- + {{ option.label }} @@ -39,34 +38,21 @@ - + }" :data="data" :filter-method="filterMethod" :props="props">
@@ -262,5 +248,14 @@ watch(() => properties.show, (show) => { .el-checkbox:last-of-type { margin-right: 30px; } + + .el-transfer { + width: 100%; + display: flex; + + .el-transfer-panel { + flex: 1; + } + } } diff --git a/types/auto-imports.d.ts b/types/auto-imports.d.ts index 54cfeb9..b0a515f 100644 --- a/types/auto-imports.d.ts +++ b/types/auto-imports.d.ts @@ -306,7 +306,6 @@ declare module 'vue' { readonly $shallowRef: UnwrapRef readonly $toRef: UnwrapRef readonly EffectScope: UnwrapRef - readonly ElMessage: UnwrapRef readonly asyncComputed: UnwrapRef readonly autoResetRef: UnwrapRef readonly computed: UnwrapRef @@ -594,7 +593,6 @@ declare module '@vue/runtime-core' { readonly $shallowRef: UnwrapRef readonly $toRef: UnwrapRef readonly EffectScope: UnwrapRef - readonly ElMessage: UnwrapRef readonly asyncComputed: UnwrapRef readonly autoResetRef: UnwrapRef readonly computed: UnwrapRef