wave-ui 1.45.14 → 1.45.15

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.
@@ -2678,6 +2678,8 @@ const __vue2_script$u = {
2678
2678
  return file;
2679
2679
  }));
2680
2680
  this.$emit("update:modelValue", this.inputFiles);
2681
+ this.$emit("input", this.inputFiles);
2682
+ this.$emit("change", this.inputFiles);
2681
2683
  },
2682
2684
  filePreview(original, file) {
2683
2685
  const reader = new FileReader();
@@ -2696,7 +2698,7 @@ const __vue2_script$u = {
2696
2698
  },
2697
2699
  mounted() {
2698
2700
  setTimeout(() => {
2699
- if (this.$refs.input.matches(":-webkit-autofill"))
2701
+ if (this.$refs.input && this.$refs.input.matches(":-webkit-autofill"))
2700
2702
  this.isAutofilled = true;
2701
2703
  }, 400);
2702
2704
  },