lh-ui-next 0.1.2 → 0.1.3
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/lib/lh-ui-next.mjs +3 -2
- package/lib/lh-ui-next.umd.js +1 -1
- package/package.json +1 -1
- package/static/iconFontComponent/iconfont.css +298 -294
- package/static/iconFontComponent/iconfont.eot +0 -0
- package/static/iconFontComponent/iconfont.js +1 -1
- package/static/iconFontComponent/iconfont.json +499 -492
- package/static/iconFontComponent/iconfont.svg +159 -157
- package/static/iconFontComponent/iconfont.ttf +0 -0
- package/static/iconFontComponent/iconfont.woff +0 -0
- package/static/iconFontComponent/iconfont.woff2 +0 -0
package/lib/lh-ui-next.mjs
CHANGED
|
@@ -3657,7 +3657,7 @@ const hn = {
|
|
|
3657
3657
|
this.$emit("update:modelValue", "");
|
|
3658
3658
|
},
|
|
3659
3659
|
optionSwitch(e, t) {
|
|
3660
|
-
if (this.disabled)
|
|
3660
|
+
if (this.disabled || e.disabled)
|
|
3661
3661
|
return;
|
|
3662
3662
|
if (e.value == "other") {
|
|
3663
3663
|
this.list.splice(t, 1);
|
|
@@ -3812,6 +3812,7 @@ const hn = {
|
|
|
3812
3812
|
for (let i = 0; i < e.length; i++) {
|
|
3813
3813
|
let s = e[i].other || !1, l = {
|
|
3814
3814
|
value: e[i].value,
|
|
3815
|
+
disabled: e[i].disabled,
|
|
3815
3816
|
name: e[i].name,
|
|
3816
3817
|
active: !1,
|
|
3817
3818
|
show: !s
|
|
@@ -3857,7 +3858,7 @@ function yn(e, t, i, s, l, n) {
|
|
|
3857
3858
|
i.leftTitle ? (o(), c("div", un, g(i.leftTitle), 1)) : m("", !0),
|
|
3858
3859
|
(o(!0), c(b, null, y(l.list, (a, r) => x((o(), c("li", {
|
|
3859
3860
|
onClick: (h) => n.optionSwitch(a, r),
|
|
3860
|
-
class: f([{ active: a.active, disabled: i.disabled }, { mini: i.size == "mini" }]),
|
|
3861
|
+
class: f([{ active: a.active, disabled: i.disabled || a.disabled }, { mini: i.size == "mini" }]),
|
|
3861
3862
|
innerHTML: a.name
|
|
3862
3863
|
}, null, 10, fn)), [
|
|
3863
3864
|
[P, a.show]
|