vant 3.4.3 → 3.4.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/lib/vant.es.js CHANGED
@@ -2166,7 +2166,9 @@ var stdin_default$1o = defineComponent({
2166
2166
  watch(() => props.areaList, setValues, {
2167
2167
  deep: true
2168
2168
  });
2169
- watch(() => props.columnsNum, () => nextTick(setValues));
2169
+ watch(() => props.columnsNum, () => {
2170
+ nextTick(setValues);
2171
+ });
2170
2172
  useExpose({
2171
2173
  reset,
2172
2174
  getArea,
@@ -2464,7 +2466,8 @@ function runRuleValidator(value, rule) {
2464
2466
  return new Promise((resolve) => {
2465
2467
  const returnVal = rule.validator(value, rule);
2466
2468
  if (isPromise(returnVal)) {
2467
- return returnVal.then(resolve);
2469
+ returnVal.then(resolve);
2470
+ return;
2468
2471
  }
2469
2472
  resolve(returnVal);
2470
2473
  });
@@ -9658,7 +9661,9 @@ var stdin_default$x = defineComponent({
9658
9661
  });
9659
9662
  }
9660
9663
  };
9661
- const init = () => nextTick(onScroll);
9664
+ const init = () => {
9665
+ nextTick(onScroll);
9666
+ };
9662
9667
  useEventListener("scroll", onScroll, {
9663
9668
  target: scrollParent
9664
9669
  });
@@ -14228,7 +14233,7 @@ const Lazyload = {
14228
14233
  });
14229
14234
  }
14230
14235
  };
14231
- const version = "3.4.3";
14236
+ const version = "3.4.4";
14232
14237
  function install(app) {
14233
14238
  const components = [
14234
14239
  ActionBar,
@@ -2166,7 +2166,9 @@ var stdin_default$1o = defineComponent({
2166
2166
  watch(() => props.areaList, setValues, {
2167
2167
  deep: true
2168
2168
  });
2169
- watch(() => props.columnsNum, () => nextTick(setValues));
2169
+ watch(() => props.columnsNum, () => {
2170
+ nextTick(setValues);
2171
+ });
2170
2172
  useExpose({
2171
2173
  reset,
2172
2174
  getArea,
@@ -2464,7 +2466,8 @@ function runRuleValidator(value, rule) {
2464
2466
  return new Promise((resolve) => {
2465
2467
  const returnVal = rule.validator(value, rule);
2466
2468
  if (isPromise(returnVal)) {
2467
- return returnVal.then(resolve);
2469
+ returnVal.then(resolve);
2470
+ return;
2468
2471
  }
2469
2472
  resolve(returnVal);
2470
2473
  });
@@ -9658,7 +9661,9 @@ var stdin_default$x = defineComponent({
9658
9661
  });
9659
9662
  }
9660
9663
  };
9661
- const init = () => nextTick(onScroll);
9664
+ const init = () => {
9665
+ nextTick(onScroll);
9666
+ };
9662
9667
  useEventListener("scroll", onScroll, {
9663
9668
  target: scrollParent
9664
9669
  });
@@ -14228,7 +14233,7 @@ const Lazyload = {
14228
14233
  });
14229
14234
  }
14230
14235
  };
14231
- const version = "3.4.3";
14236
+ const version = "3.4.4";
14232
14237
  function install(app) {
14233
14238
  const components = [
14234
14239
  ActionBar,
package/lib/vant.js CHANGED
@@ -2520,7 +2520,9 @@
2520
2520
  vue.watch(() => props.areaList, setValues, {
2521
2521
  deep: true
2522
2522
  });
2523
- vue.watch(() => props.columnsNum, () => vue.nextTick(setValues));
2523
+ vue.watch(() => props.columnsNum, () => {
2524
+ vue.nextTick(setValues);
2525
+ });
2524
2526
  useExpose({
2525
2527
  reset,
2526
2528
  getArea,
@@ -2818,7 +2820,8 @@
2818
2820
  return new Promise((resolve) => {
2819
2821
  const returnVal = rule.validator(value, rule);
2820
2822
  if (isPromise(returnVal)) {
2821
- return returnVal.then(resolve);
2823
+ returnVal.then(resolve);
2824
+ return;
2822
2825
  }
2823
2826
  resolve(returnVal);
2824
2827
  });
@@ -10012,7 +10015,9 @@
10012
10015
  });
10013
10016
  }
10014
10017
  };
10015
- const init = () => vue.nextTick(onScroll);
10018
+ const init = () => {
10019
+ vue.nextTick(onScroll);
10020
+ };
10016
10021
  useEventListener("scroll", onScroll, {
10017
10022
  target: scrollParent
10018
10023
  });
@@ -15439,7 +15444,7 @@
15439
15444
  });
15440
15445
  }
15441
15446
  };
15442
- const version = "3.4.3";
15447
+ const version = "3.4.4";
15443
15448
  function install(app) {
15444
15449
  const components = [
15445
15450
  ActionBar,