ElemeFE / ElemeFE/element

[Bug Report] cascader 多选情况下,取消选中后 ,再次打开cascader 高亮样式

Open
#22,168 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Element UI version
2.15.7
2.15.5

### OS/Browsers version
Chrome 已是最新版本 版本 105.0.5195.127(正式版本) (32 位)

### Vue version
2.7.7

### Reproduction Link
https://codepen.io/yyf66/pen/oNdpzGO

### Steps to reproduce
1 开打弹窗 选择 指南 - 设计原则
2关闭cascader
3在次打开 指南 - 设计原则 为高亮状态 期望于首次打开保持一直

### What is Expected?
与首次打开时一样,只有父级显示 切不高亮,

### What is actually happening?
记录上次关闭前的 状态

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the CodePen reproduction at https://codepen.io/yyf66/pen/oNdpzGO using Element UI 2.15.7 and Vue 2.7.7. Reproduce the Cascader multiple-selection open, select, close, and reopen sequence, then inspect the Cascader implementation; done means reopening shows only the parent selected without retaining the previous highlight state.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.