🐛(component): 修复 transfer 组件因 checkbox 组件更新而导致的选择逻辑错误
This commit is contained in:
parent
7f67012f13
commit
f7ebab3b9c
@ -196,7 +196,7 @@ const boxStyle = computed(() => {
|
||||
v-model="hasLeftChecked"
|
||||
:is-indeterminate="!allLeftChecked"
|
||||
skin="primary"
|
||||
label="all"
|
||||
value="all"
|
||||
@change="allLeftChange"
|
||||
>
|
||||
<span>{{ title[0] }}</span>
|
||||
@ -214,7 +214,7 @@ const boxStyle = computed(() => {
|
||||
<LayCheckbox
|
||||
v-model="leftSelectedKeys"
|
||||
skin="primary"
|
||||
:label="dataSource[id]"
|
||||
:value="dataSource[id]"
|
||||
>
|
||||
<slot v-if="slots.item" name="item" :data="dataSource"></slot>
|
||||
<span v-else>{{ dataSource.title }}</span>
|
||||
@ -247,7 +247,7 @@ const boxStyle = computed(() => {
|
||||
v-model="hasRightChecked"
|
||||
:is-indeterminate="!allRightChecked"
|
||||
skin="primary"
|
||||
label="all"
|
||||
value="all"
|
||||
@change="allRightChange"
|
||||
>
|
||||
<span>{{ title[1] }}</span>
|
||||
@ -265,7 +265,7 @@ const boxStyle = computed(() => {
|
||||
<LayCheckbox
|
||||
v-model="rightSelectedKeys"
|
||||
skin="primary"
|
||||
:label="dataSource[id]"
|
||||
:value="dataSource[id]"
|
||||
>
|
||||
<slot v-if="slots.item" name="item" :data="dataSource"></slot>
|
||||
<span v-else>{{ dataSource.title }}</span>
|
||||
@ -278,4 +278,4 @@ const boxStyle = computed(() => {
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
</template>
|
@ -33,6 +33,7 @@
|
||||
<li>[修复] input-number 组件 size 属性, lg md sm xs 为可选值。</li>
|
||||
<li>[修复] input-number 组件 size 属性, 默认值为 md。</li>
|
||||
<li>[修复] rate 组件 has-clear 为 allow-clear 属性。</li>
|
||||
<li>[修复] transfer 组件因 checkbox 属性更新而导致的选择逻辑错误。</li>
|
||||
<li>[优化] select 组件 multiple 属性开启时的 tag 标签样式。</li>
|
||||
<li>[删除] table 组件 checkbox 属性, 由 type = checkbox 列代替。</li>
|
||||
</ul>
|
||||
|
Loading…
Reference in New Issue
Block a user