Przeglądaj źródła

Select: hide clear icon when value is null (#11460)

杨奕 7 lat temu
rodzic
commit
51f3035346
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      packages/select/src/select.vue

+ 1 - 0
packages/select/src/select.vue

@@ -199,6 +199,7 @@
           this.inputHovering &&
           !this.multiple &&
           this.value !== undefined &&
+          this.value !== null &&
           this.value !== '';
         return criteria ? 'circle-close is-show-close' : (this.remote && this.filterable ? '' : 'arrow-up');
       },