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/es/area/Area.js +3 -1
- package/es/field/utils.js +2 -1
- package/es/index-bar/IndexBar.js +3 -1
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/lib/area/Area.js +3 -1
- package/lib/field/utils.js +2 -1
- package/lib/index-bar/IndexBar.js +3 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/vant.cjs.js +9 -4
- package/lib/vant.cjs.min.js +1 -1
- package/lib/vant.es.js +9 -4
- package/lib/vant.es.min.js +9 -4
- package/lib/vant.js +9 -4
- package/lib/vant.min.js +1 -1
- package/package.json +3 -6
- package/vetur/attributes.json +138 -138
- package/vetur/tags.json +43 -43
- package/vetur/web-types.json +651 -651
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, () =>
|
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
|
-
|
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 = () =>
|
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.
|
14236
|
+
const version = "3.4.4";
|
14232
14237
|
function install(app) {
|
14233
14238
|
const components = [
|
14234
14239
|
ActionBar,
|
package/lib/vant.es.min.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, () =>
|
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
|
-
|
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 = () =>
|
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.
|
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, () =>
|
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
|
-
|
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 = () =>
|
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.
|
15447
|
+
const version = "3.4.4";
|
15443
15448
|
function install(app) {
|
15444
15449
|
const components = [
|
15445
15450
|
ActionBar,
|