-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 [Bug]: 手风琴bug #276
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
13.3.0
Angular Version
13.3.0
Link to minimal reproduction
正常运行代码:
clickMenu(item:AccordionItemClickEvent) {
let click = {
it: {
label: item.item.label,
key: item.item.key
},
par: {
label: item.parent.label,
key: item.parent.key
}
}
this.store.dispatch(addMenus(click))
}
出现bug代码:
clickMenu(item:AccordionItemClickEvent) {
// let click = {
// it: {
// label: item.item.label,
// key: item.item.key
// },
// par: {
// label: item.parent.label,
// key: item.parent.key
// }
// }
let click = {it: item.item, par: item.parent}
this.store.dispatch(addMenus(click))
}
第一次点机正常,当第二次点击其他项目的时候出现bug
Step to reproduce
正常运行代码:
clickMenu(item:AccordionItemClickEvent) {
let click = {
it: {
label: item.item.label,
key: item.item.key
},
par: {
label: item.parent.label,
key: item.parent.key
}
}
this.store.dispatch(addMenus(click))
}
出现bug代码:
clickMenu(item:AccordionItemClickEvent) {
// let click = {
// it: {
// label: item.item.label,
// key: item.item.key
// },
// par: {
// label: item.parent.label,
// key: item.parent.key
// }
// }
let click = {it: item.item, par: item.parent}
this.store.dispatch(addMenus(click))
}
第一次点机正常,当第二次点击其他项目的时候出现bug
What is expected
No response
What is actually happening
No response
Any additional comments (optional)
No response
The text was updated successfully, but these errors were encountered: