lh-ui-next 0.1.8-beta.3 → 0.1.8-beta.4

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.1.7",
8
- ## test version : "0.1.8-beta.3,
8
+ ## test version : "0.1.8-beta.4,
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
@@ -6570,6 +6570,10 @@ const Da = {
6570
6570
  suffixIcon: {
6571
6571
  type: String,
6572
6572
  default: ""
6573
+ },
6574
+ modelValLength: {
6575
+ type: [Number, String],
6576
+ default: 1
6573
6577
  }
6574
6578
  },
6575
6579
  components: {
@@ -6597,6 +6601,8 @@ const Da = {
6597
6601
  },
6598
6602
  watch: {
6599
6603
  inputValue(e, t) {
6604
+ if (e !== null && e !== "" && e.length < this.modelValLength)
6605
+ return !1;
6600
6606
  if (this.ifSearch) {
6601
6607
  const i = document.getElementById(this.myid);
6602
6608
  i != null && i.getElementsByTagName("input") != null && i.getElementsByTagName("input")[0] === document.activeElement && this.debounce(this.search, 500);