@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.
@@ -5472,8 +5472,6 @@ function useContext(Handler) {
5472
5472
  }
5473
5473
 
5474
5474
  Object.keys(computed).forEach(function (k) {
5475
- var _val = deepGet(ctx.rule, k);
5476
-
5477
5475
  ctx.watch.push(watch(function () {
5478
5476
  var item = computed[k];
5479
5477
  if (!item) return undefined;
@@ -5544,7 +5542,7 @@ function useContext(Handler) {
5544
5542
  }
5545
5543
  });
5546
5544
  }, {
5547
- immediate: _val == null || _val === ''
5545
+ immediate: k === 'value' ? [undefined, null, ''].indexOf(ctx.rule.value) > -1 : true
5548
5546
  }));
5549
5547
  });
5550
5548
  });
@@ -8104,7 +8102,7 @@ function install(FormCreate) {
8104
8102
  function elmFormCreate() {
8105
8103
  return FormCreateFactory({
8106
8104
  ui: 'element-ui',
8107
- version: '3.2.4',
8105
+ version: '3.2.5',
8108
8106
  manager: manager,
8109
8107
  extendApi: extendApi,
8110
8108
  install: install,