Explorar o código

Select: fix remove-tag event param

Leopoldthecoder %!s(int64=7) %!d(string=hai) anos
pai
achega
11d2263678
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();
       },