Skip to content

Commit

Permalink
fix(components): [popper] remove unnecessary conditional judgment (#1…
Browse files Browse the repository at this point in the history
…6834)

fix: delete invalid code
  • Loading branch information
warmthsea committed May 13, 2024
1 parent c2843cd commit 75b935a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/components/popper/src/content.vue
Expand Up @@ -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,
Expand Down

0 comments on commit 75b935a

Please sign in to comment.