mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-03 11:47:48 +08:00
fix(components): [popper] remove unnecessary conditional judgment (#16834)
fix: delete invalid code
This commit is contained in:
parent
c2843cd385
commit
75b935a977
@ -93,10 +93,7 @@ provide(POPPER_CONTENT_INJECTION_KEY, {
|
||||
arrowOffset,
|
||||
})
|
||||
|
||||
if (
|
||||
formItemContext &&
|
||||
(formItemContext.addInputId || formItemContext.removeInputId)
|
||||
) {
|
||||
if (formItemContext) {
|
||||
// disallow auto-id from inside popper content
|
||||
provide(formItemContextKey, {
|
||||
...formItemContext,
|
||||
|
Loading…
Reference in New Issue
Block a user