From f7ebab3b9cb73ba41a37369da45da5590ae4270f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B1=E7=9C=A0=E5=84=80=E5=BC=8F?= <854085467@qq.com> Date: Tue, 19 Jul 2022 09:07:20 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B(component):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=20transfer=20=E7=BB=84=E4=BB=B6=E5=9B=A0=20checkbox=20?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E6=9B=B4=E6=96=B0=E8=80=8C=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E7=9A=84=E9=80=89=E6=8B=A9=E9=80=BB=E8=BE=91=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package/component/src/component/transfer/index.vue | 10 +++++----- .../src/document/zh-CN/guide/changelog.md | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/package/component/src/component/transfer/index.vue b/package/component/src/component/transfer/index.vue index 585b69da..dda127fa 100644 --- a/package/component/src/component/transfer/index.vue +++ b/package/component/src/component/transfer/index.vue @@ -196,7 +196,7 @@ const boxStyle = computed(() => { v-model="hasLeftChecked" :is-indeterminate="!allLeftChecked" skin="primary" - label="all" + value="all" @change="allLeftChange" > {{ title[0] }} @@ -214,7 +214,7 @@ const boxStyle = computed(() => { {{ dataSource.title }} @@ -247,7 +247,7 @@ const boxStyle = computed(() => { v-model="hasRightChecked" :is-indeterminate="!allRightChecked" skin="primary" - label="all" + value="all" @change="allRightChange" > {{ title[1] }} @@ -265,7 +265,7 @@ const boxStyle = computed(() => { {{ dataSource.title }} @@ -278,4 +278,4 @@ const boxStyle = computed(() => { - + \ No newline at end of file diff --git a/package/document-component/src/document/zh-CN/guide/changelog.md b/package/document-component/src/document/zh-CN/guide/changelog.md index c8d91705..0b89991d 100644 --- a/package/document-component/src/document/zh-CN/guide/changelog.md +++ b/package/document-component/src/document/zh-CN/guide/changelog.md @@ -33,6 +33,7 @@
  • [修复] input-number 组件 size 属性, lg md sm xs 为可选值。
  • [修复] input-number 组件 size 属性, 默认值为 md。
  • [修复] rate 组件 has-clear 为 allow-clear 属性。
  • +
  • [修复] transfer 组件因 checkbox 属性更新而导致的选择逻辑错误。
  • [优化] select 组件 multiple 属性开启时的 tag 标签样式。
  • [删除] table 组件 checkbox 属性, 由 type = checkbox 列代替。