ElemeFE / ElemeFE/element

[bug report] cascaderpanel changes the value of V-model through dynamic data changing methods such as split, and the selected state will not change

Open
#21,054 1 comment 0 reactions 0 assignees View on GitHub
component: cascader type: bug
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Element UI version
2.15.2

### OS/Browsers version
mac / chrome 91.0.4472.77

### Vue version
2.6.14

### Reproduction Link
https://codepen.io/freexu/pen/NWpBbJm?editors=1000

### Steps to reproduce
1. 点击 赋值1 ,点击 add ,v-model 数组改变但checkbox状态不变,
1.1 点击 赋值2 checkbox状态改变;
1.2 点击 change 状态不变 点击 赋值2 checkbox状态不变。
另外在点击测试的时候 ,push 有时可以生效有时则不能,表现很奇怪。

### What is Expected?
可以正常响应

### What is actually happening?
checkbox 状态异常

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.