Browse Source

Select: fix remove-tag event param

Leopoldthecoder 7 năm trước cách đây
mục cha
commit
11d2263678
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      packages/select/src/select.vue

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

@@ -666,7 +666,7 @@
           value.splice(index, 1);
           this.$emit('input', value);
           this.emitChange(value);
-          this.$emit('remove-tag', tag);
+          this.$emit('remove-tag', tag.value);
         }
         event.stopPropagation();
       },