lh-ui-next 0.1.9-beta.14 → 0.1.9-beta.17
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 -2
- package/lib/lh-ui-next.umd.js +1 -1
- package/package.json +1 -1
- package/static/css/lhseer/class.less +1 -1
- package/static/iconFontComponent/iconfont.css +14 -6
- package/static/iconFontComponent/iconfont.eot +0 -0
- package/static/iconFontComponent/iconfont.js +1 -1
- package/static/iconFontComponent/iconfont.json +14 -0
- package/static/iconFontComponent/iconfont.svg +4 -0
- package/static/iconFontComponent/iconfont.ttf +0 -0
- package/static/iconFontComponent/iconfont.woff +0 -0
- package/static/iconFontComponent/iconfont.woff2 +0 -0
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.8",
|
|
8
|
-
## test version : "0.1.9-beta.
|
|
8
|
+
## test version : "0.1.9-beta.17,
|
|
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
|
@@ -2890,7 +2890,8 @@ const Il = /* @__PURE__ */ S(kl, [["render", Vl]]), zl = {
|
|
|
2890
2890
|
},
|
|
2891
2891
|
//【单选模式】子节点被选中之后触发,子节点选中之后需要清除其他所有节点的选中状态。因为是单选
|
|
2892
2892
|
radioClickChange(e) {
|
|
2893
|
-
|
|
2893
|
+
let t = e.checked;
|
|
2894
|
+
this.cancelAllSelectProtected(), e.checked = !t, this.$emit("check-click", e), this.checkChanged();
|
|
2894
2895
|
},
|
|
2895
2896
|
//通过key找到store中真实存在的Node.
|
|
2896
2897
|
findNodeByKey(e) {
|
|
@@ -4156,7 +4157,7 @@ const Bn = {
|
|
|
4156
4157
|
},
|
|
4157
4158
|
//全选
|
|
4158
4159
|
buttonFuc2() {
|
|
4159
|
-
this
|
|
4160
|
+
this.nodeCheckChangeAll();
|
|
4160
4161
|
},
|
|
4161
4162
|
//选中内容发生变化
|
|
4162
4163
|
checkChangeCallback(e) {
|
|
@@ -4188,6 +4189,10 @@ const Bn = {
|
|
|
4188
4189
|
//【全国省、直辖市】选中
|
|
4189
4190
|
setFirstLevelChecked() {
|
|
4190
4191
|
this.$refs.myTree.setFirstLevelChecked();
|
|
4192
|
+
},
|
|
4193
|
+
//全选
|
|
4194
|
+
nodeCheckChangeAll() {
|
|
4195
|
+
this.$refs.myTree.nodeCheckChangeAll();
|
|
4191
4196
|
}
|
|
4192
4197
|
},
|
|
4193
4198
|
computed: {
|