mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-27 02:01:15 +08:00
fix(components): [cascader-panel] clear active style (#11495)
Clears the active style when the clear button of the cascader is pressed closed #11484 Co-authored-by: t1.higashi <t1.higashi@info-sense.co.jp>
This commit is contained in:
parent
ac51fbd7dd
commit
9f76a5c11b
@ -192,6 +192,9 @@ export default defineComponent({
|
||||
const clearCheckedNodes = () => {
|
||||
checkedNodes.value.forEach((node) => node.doCheck(false))
|
||||
calculateCheckedValue()
|
||||
menus.value = menus.value.slice(0, 1)
|
||||
expandingNode.value = null
|
||||
emit('expand-change', [])
|
||||
}
|
||||
|
||||
const calculateCheckedValue = () => {
|
||||
|
Loading…
Reference in New Issue
Block a user