wave-ui 1.67.2 → 1.67.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3202,8 +3202,9 @@ const __vue2_script$w = {
3202
3202
  this.readFile(original, file);
3203
3203
  return file;
3204
3204
  }));
3205
- this.$emit("update:modelValue", this.inputFiles);
3206
- this.$emit("input", this.inputFiles);
3205
+ const filesPayload = this.multiple ? this.inputFiles : this.inputFiles[0];
3206
+ this.$emit("update:modelValue", filesPayload);
3207
+ this.$emit("input", filesPayload);
3207
3208
  },
3208
3209
  readFile(original, file) {
3209
3210
  const reader = new FileReader();