@form-create/element-ui 3.2.4 → 3.2.5

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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @form-create/element-ui v3.2.4
2
+ * @form-create/element-ui v3.2.5
3
3
  * (c) 2018-2024 xaboy
4
4
  * Github https://github.com/xaboy/form-create
5
5
  * Released under the MIT License.
@@ -5476,8 +5476,6 @@
5476
5476
  }
5477
5477
 
5478
5478
  Object.keys(computed).forEach(function (k) {
5479
- var _val = deepGet(ctx.rule, k);
5480
-
5481
5479
  ctx.watch.push(vue.watch(function () {
5482
5480
  var item = computed[k];
5483
5481
  if (!item) return undefined;
@@ -5548,7 +5546,7 @@
5548
5546
  }
5549
5547
  });
5550
5548
  }, {
5551
- immediate: _val == null || _val === ''
5549
+ immediate: k === 'value' ? [undefined, null, ''].indexOf(ctx.rule.value) > -1 : true
5552
5550
  }));
5553
5551
  });
5554
5552
  });
@@ -8108,7 +8106,7 @@
8108
8106
  function elmFormCreate() {
8109
8107
  return FormCreateFactory({
8110
8108
  ui: 'element-ui',
8111
- version: '3.2.4',
8109
+ version: '3.2.5',
8112
8110
  manager: manager,
8113
8111
  extendApi: extendApi,
8114
8112
  install: install,