lh-ui-next 0.2.1-beta.17 → 0.2.1-beta.19
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 +1 -1
- package/lib/lh-ui-next.mjs +7 -9
- package/lib/lh-ui-next.umd.js +1 -1
- package/package.json +1 -1
- package/static/css/theme-compact-orange/main.css +1 -0
- package/static/css/theme-compact-orange/main.less +56 -0
- package/static/iconFontComponent/iconfont.css +586 -586
- package/static/iconFontComponent/iconfont.json +1003 -1003
- package/static/iconFontComponent/iconfont.svg +303 -303
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.
|
|
8
|
+
## test version : "0.2.1-beta.19,
|
|
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
|
package/lib/lh-ui-next.mjs
CHANGED
|
@@ -2982,7 +2982,7 @@ const zl = /* @__PURE__ */ w(_l, [["render", Il]]), Dl = {
|
|
|
2982
2982
|
let l = i.children[s];
|
|
2983
2983
|
t(l);
|
|
2984
2984
|
}
|
|
2985
|
-
i.checked && (this.leafOnly ? i.isLeaf && e.push(i.key) : e.push(i.key));
|
|
2985
|
+
i.checked && !i.disabled && (this.leafOnly ? i.isLeaf && e.push(i.key) : e.push(i.key));
|
|
2986
2986
|
};
|
|
2987
2987
|
for (let i = 0; i < this.store.data.length; i++) {
|
|
2988
2988
|
let s = this.store.data[i];
|
|
@@ -6764,7 +6764,7 @@ const Ea = {
|
|
|
6764
6764
|
},
|
|
6765
6765
|
//处于聚焦状态。并且开始第一次的查询
|
|
6766
6766
|
realVisible() {
|
|
6767
|
-
return this.operating && this.inputValue && this.ajaxTimes < 1;
|
|
6767
|
+
return this.operating && this.inputValue && this.ajaxTimes < 1 && (this.searchResultList.length > 0 && this.searchResultList[0] !== "error" || this.searchResultList.length === 0);
|
|
6768
6768
|
}
|
|
6769
6769
|
},
|
|
6770
6770
|
methods: {
|
|
@@ -6798,13 +6798,11 @@ const Ea = {
|
|
|
6798
6798
|
searchText: e,
|
|
6799
6799
|
resultList: []
|
|
6800
6800
|
}), e == "" || e == null ? (this.searchResultList = [], document.getElementById(this.myid) !== null && (this.operating = !1)) : (this.ajaxTimes++, Ke(this.url, t).then((i) => {
|
|
6801
|
-
|
|
6802
|
-
|
|
6803
|
-
|
|
6804
|
-
|
|
6805
|
-
|
|
6806
|
-
t[this.field] == n.searchText && (n.resultList = s);
|
|
6807
|
-
}
|
|
6801
|
+
let s = [];
|
|
6802
|
+
i.code == this.successCode ? s = i.data || [] : s = ["error"], this.ajaxTimes--;
|
|
6803
|
+
for (let l = 0; l < this.resultListData.length; l++) {
|
|
6804
|
+
const n = this.resultListData[l];
|
|
6805
|
+
t[this.field] == n.searchText && (n.resultList = s);
|
|
6808
6806
|
}
|
|
6809
6807
|
}));
|
|
6810
6808
|
},
|