lh-ui-next 0.2.1-beta.1 → 0.2.1-beta.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.
package/README.md CHANGED
@@ -5,7 +5,7 @@ alpha version is use to self-test; beta version is use to public survey.for exam
5
5
  1.0.0-alpha.1
6
6
  1.0.0-test.2
7
7
  ## Official version : "0.2.0",
8
- ## test version : "0.2.1-beta.1,
8
+ ## test version : "0.2.1-beta.3,
9
9
  ## npmmirror
10
10
  When cnpm sync execution is unsuccessful,you can go the website(http://www.npmmirror.com/package/lh-ui-next) and press sync button to
11
11
  manual trigger the sync event
@@ -8972,7 +8972,19 @@ const _r = {
8972
8972
  watch: {
8973
8973
  modelValue: {
8974
8974
  deep: !0,
8975
- handler() {
8975
+ handler: function(e) {
8976
+ if (e === "" || e === null) {
8977
+ this.$emit("update:modelValue", this.min);
8978
+ return;
8979
+ }
8980
+ if (e > this.max) {
8981
+ this.$emit("update:modelValue", this.max);
8982
+ return;
8983
+ }
8984
+ if (e < this.min) {
8985
+ this.$emit("update:modelValue", this.min);
8986
+ return;
8987
+ }
8976
8988
  this.buttonPosition(), this.formatTooltipEvent();
8977
8989
  }
8978
8990
  }