소스 검색

Input: fix clear icon overlapping (#11103)

杨奕 7 년 전
부모
커밋
3d5f9ef080
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/input/src/input.vue

+ 1 - 1
packages/input/src/input.vue

@@ -8,7 +8,7 @@
       'el-input-group--append': $slots.append,
       'el-input-group--prepend': $slots.prepend,
       'el-input--prefix': $slots.prefix || prefixIcon,
-      'el-input--suffix': $slots.suffix || suffixIcon
+      'el-input--suffix': $slots.suffix || suffixIcon || clearable
     }
     ]"
     @mouseenter="hovering = true"