@deanwu/vue-component-library 1.0.119 → 1.0.121

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.
@@ -102838,6 +102838,10 @@ var checkItem = function (opt, data, name, next) {
102838
102838
  message: rule
102839
102839
  }];
102840
102840
  }
102841
+ if (typeof rule == 'function') {
102842
+ next && next(!!rule());
102843
+ return;
102844
+ }
102841
102845
  if (!rule || !rule.length) {
102842
102846
  next && next(true);
102843
102847
  return;