lh-ui-next 0.1.2 → 0.1.4

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 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.1.2",
8
- ## test version : "0.1.2",
7
+ ## Official version : "0.1.4",
8
+ ## test version : "0.1.4",
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
@@ -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]