lh-ui-next 0.0.46 → 0.0.47
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 +2 -2
- package/lib/lh-ui-next.mjs +6 -7
- package/lib/lh-ui-next.umd.js +1 -6686
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
alpha version is use to self-test; beta version is use to public survey.for example:
|
|
5
5
|
1.0.0-alpha.1
|
|
6
6
|
1.0.0-test.2
|
|
7
|
-
## Official version : "0.0.
|
|
8
|
-
## test version : "0.0.
|
|
7
|
+
## Official version : "0.0.47",
|
|
8
|
+
## test version : "0.0.47",
|
|
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
|
@@ -2976,7 +2976,6 @@ const Dl = /* @__PURE__ */ _(Tl, [["render", zl]]), Ml = {
|
|
|
2976
2976
|
},
|
|
2977
2977
|
watch: {
|
|
2978
2978
|
searchText: {
|
|
2979
|
-
immediate: !0,
|
|
2980
2979
|
deep: !0,
|
|
2981
2980
|
handler: function(e) {
|
|
2982
2981
|
this.debounce(this.search, 500);
|
|
@@ -2987,10 +2986,10 @@ const Dl = /* @__PURE__ */ _(Tl, [["render", zl]]), Ml = {
|
|
|
2987
2986
|
deep: !0,
|
|
2988
2987
|
handler: function(e, t) {
|
|
2989
2988
|
if (e === "" || e === null)
|
|
2990
|
-
this.$refs.myTree.setCheckedKeys([]);
|
|
2989
|
+
this.$refs.myTree && this.$refs.myTree.setCheckedKeys([]);
|
|
2991
2990
|
else {
|
|
2992
2991
|
let i = e.split(",");
|
|
2993
|
-
this.$refs.myTree.setCheckedKeys(i);
|
|
2992
|
+
this.$refs.myTree && this.$refs.myTree.setCheckedKeys(i);
|
|
2994
2993
|
}
|
|
2995
2994
|
}
|
|
2996
2995
|
}
|
|
@@ -3017,16 +3016,16 @@ const Dl = /* @__PURE__ */ _(Tl, [["render", zl]]), Ml = {
|
|
|
3017
3016
|
}
|
|
3018
3017
|
},
|
|
3019
3018
|
buttonFuc1() {
|
|
3020
|
-
this.$refs.myTree.allSelect();
|
|
3019
|
+
this.$refs.myTree && this.$refs.myTree.allSelect();
|
|
3021
3020
|
},
|
|
3022
3021
|
buttonFuc2() {
|
|
3023
|
-
this.$refs.myTree.reverseSelect();
|
|
3022
|
+
this.$refs.myTree && this.$refs.myTree.reverseSelect();
|
|
3024
3023
|
},
|
|
3025
3024
|
buttonFuc3() {
|
|
3026
|
-
this.$refs.myTree.cancelAllSelect();
|
|
3025
|
+
this.$refs.myTree && this.$refs.myTree.cancelAllSelect();
|
|
3027
3026
|
},
|
|
3028
3027
|
search() {
|
|
3029
|
-
this.$refs.myTree.search(this.searchText);
|
|
3028
|
+
this.$refs.myTree && this.$refs.myTree.search(this.searchText);
|
|
3030
3029
|
},
|
|
3031
3030
|
checkClickCallback(e) {
|
|
3032
3031
|
this.$emit("tree-check-click", e), this.$refs.mySelectSpan.click();
|