lh-ui-next 0.1.9-beta.10 → 0.1.9-beta.11
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 +23 -15
- package/lib/lh-ui-next.umd.js +1 -1
- package/package.json +1 -1
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.11,
|
|
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
|
@@ -1229,8 +1229,10 @@ const et = /* @__PURE__ */ S(Nt, [["render", Ft]]), Et = {
|
|
|
1229
1229
|
this.debounce(this.changeWidth, 500);
|
|
1230
1230
|
},
|
|
1231
1231
|
changeWidth() {
|
|
1232
|
-
|
|
1233
|
-
|
|
1232
|
+
if (this.$refs.myPopover) {
|
|
1233
|
+
let e = this.$refs.myPopover.$el;
|
|
1234
|
+
e.style.width && (this.popoverContentWidth = e.offsetWidth);
|
|
1235
|
+
}
|
|
1234
1236
|
},
|
|
1235
1237
|
//函数防抖
|
|
1236
1238
|
debounce: function(e, t) {
|
|
@@ -3251,7 +3253,7 @@ const Wl = /* @__PURE__ */ S(Nl, [["render", Ol]]), Hl = {
|
|
|
3251
3253
|
deep: !0,
|
|
3252
3254
|
handler: function(e) {
|
|
3253
3255
|
this.storeKeyList.length > 0 ? setTimeout(() => {
|
|
3254
|
-
this.$refs.myTree.setCheckedKeys(this.storeKeyList), this.innerChangeFlag = !1, this.storeKeyList = [];
|
|
3256
|
+
this.$refs.myTree && this.$refs.myTree.setCheckedKeys(this.storeKeyList), this.innerChangeFlag = !1, this.storeKeyList = [];
|
|
3255
3257
|
}, 0) : (this.showList = [], this.$emit("update:modelValue", ""));
|
|
3256
3258
|
}
|
|
3257
3259
|
}
|
|
@@ -3274,10 +3276,12 @@ const Wl = /* @__PURE__ */ S(Nl, [["render", Ol]]), Hl = {
|
|
|
3274
3276
|
this.pWidth = this.popoverContentWidth;
|
|
3275
3277
|
return;
|
|
3276
3278
|
}
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
|
|
3279
|
+
if (this.$refs.myPopover) {
|
|
3280
|
+
let e = this.$refs.myPopover.$el;
|
|
3281
|
+
if (e.style.width) {
|
|
3282
|
+
let i = e.offsetWidth;
|
|
3283
|
+
i < 200 && (i = 200), this.pWidth = i;
|
|
3284
|
+
}
|
|
3281
3285
|
}
|
|
3282
3286
|
},
|
|
3283
3287
|
//全选
|
|
@@ -6751,10 +6755,12 @@ const Ma = {
|
|
|
6751
6755
|
this.debounce(this.changeWidth, 500);
|
|
6752
6756
|
},
|
|
6753
6757
|
changeWidth() {
|
|
6754
|
-
|
|
6755
|
-
|
|
6756
|
-
|
|
6757
|
-
|
|
6758
|
+
if (this.$refs.myPopover) {
|
|
6759
|
+
let e = this.$refs.myPopover.$el;
|
|
6760
|
+
if (e.style.width) {
|
|
6761
|
+
let i = e.offsetWidth;
|
|
6762
|
+
i < 200 && (i = 200), this.popoverContentWidth = i;
|
|
6763
|
+
}
|
|
6758
6764
|
}
|
|
6759
6765
|
}
|
|
6760
6766
|
},
|
|
@@ -7003,10 +7009,12 @@ const Wa = {
|
|
|
7003
7009
|
this.debounce(this.changeWidth, 500);
|
|
7004
7010
|
},
|
|
7005
7011
|
changeWidth() {
|
|
7006
|
-
|
|
7007
|
-
|
|
7008
|
-
|
|
7009
|
-
|
|
7012
|
+
if (this.$refs.myPopover) {
|
|
7013
|
+
let e = this.$refs.myPopover.$el;
|
|
7014
|
+
if (e.style.width) {
|
|
7015
|
+
let i = e.offsetWidth;
|
|
7016
|
+
i < 200 && (i = 200), this.popoverContentWidth = i;
|
|
7017
|
+
}
|
|
7010
7018
|
}
|
|
7011
7019
|
}
|
|
7012
7020
|
},
|