vant 2.12.50 → 2.12.52
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/action-sheet/index.css +1 -1
- package/es/action-sheet/index.less +1 -0
- package/es/calendar/index.js +5 -3
- package/es/index.js +1 -1
- package/es/uploader/index.js +5 -1
- package/lib/action-sheet/index.css +1 -1
- package/lib/action-sheet/index.less +1 -0
- package/lib/calendar/index.js +5 -3
- package/lib/index.css +1 -1
- package/lib/index.js +1 -1
- package/lib/uploader/index.js +5 -1
- package/lib/vant.js +11 -5
- package/lib/vant.min.js +1 -1
- package/package.json +1 -1
- package/vetur/attributes.json +208 -208
- package/vetur/tags.json +72 -72
- package/vetur/web-types.json +758 -758
- package/changelog.generated.md +0 -15
package/lib/index.js
CHANGED
@@ -361,7 +361,7 @@ exports.TreeSelect = _treeSelect.default;
|
|
361
361
|
var _uploader = _interopRequireDefault(require("./uploader"));
|
362
362
|
|
363
363
|
exports.Uploader = _uploader.default;
|
364
|
-
var version = '2.12.
|
364
|
+
var version = '2.12.52';
|
365
365
|
exports.version = version;
|
366
366
|
|
367
367
|
function install(Vue) {
|
package/lib/uploader/index.js
CHANGED
@@ -423,7 +423,7 @@ var _default2 = createComponent({
|
|
423
423
|
genUpload: function genUpload() {
|
424
424
|
var h = this.$createElement;
|
425
425
|
|
426
|
-
if (this.fileList.length >= this.maxCount
|
426
|
+
if (this.fileList.length >= this.maxCount) {
|
427
427
|
return;
|
428
428
|
}
|
429
429
|
|
@@ -462,6 +462,10 @@ var _default2 = createComponent({
|
|
462
462
|
}
|
463
463
|
|
464
464
|
return h("div", {
|
465
|
+
"directives": [{
|
466
|
+
name: "show",
|
467
|
+
value: this.showUpload
|
468
|
+
}],
|
465
469
|
"class": bem('upload', {
|
466
470
|
readonly: this.readonly
|
467
471
|
}),
|
package/lib/vant.js
CHANGED
@@ -8071,11 +8071,13 @@ var Header_createNamespace = Object(create["a" /* createNamespace */])('calendar
|
|
8071
8071
|
}
|
8072
8072
|
},
|
8073
8073
|
mounted: function mounted() {
|
8074
|
-
var _this$vanPopup;
|
8075
|
-
|
8076
8074
|
this.init(); // https://github.com/vant-ui/vant/issues/9845
|
8077
8075
|
|
8078
|
-
(
|
8076
|
+
if (!this.poppable) {
|
8077
|
+
var _this$vanPopup;
|
8078
|
+
|
8079
|
+
(_this$vanPopup = this.vanPopup) == null ? void 0 : _this$vanPopup.$on('opened', this.onScroll);
|
8080
|
+
}
|
8079
8081
|
},
|
8080
8082
|
|
8081
8083
|
/* istanbul ignore next */
|
@@ -20451,7 +20453,7 @@ var uploader_createNamespace = Object(create["a" /* createNamespace */])('upload
|
|
20451
20453
|
genUpload: function genUpload() {
|
20452
20454
|
var h = this.$createElement;
|
20453
20455
|
|
20454
|
-
if (this.fileList.length >= this.maxCount
|
20456
|
+
if (this.fileList.length >= this.maxCount) {
|
20455
20457
|
return;
|
20456
20458
|
}
|
20457
20459
|
|
@@ -20490,6 +20492,10 @@ var uploader_createNamespace = Object(create["a" /* createNamespace */])('upload
|
|
20490
20492
|
}
|
20491
20493
|
|
20492
20494
|
return h("div", {
|
20495
|
+
"directives": [{
|
20496
|
+
name: "show",
|
20497
|
+
value: this.showUpload
|
20498
|
+
}],
|
20493
20499
|
"class": uploader_bem('upload', {
|
20494
20500
|
readonly: this.readonly
|
20495
20501
|
}),
|
@@ -23174,7 +23180,7 @@ TreeSelect.props = {
|
|
23174
23180
|
|
23175
23181
|
|
23176
23182
|
|
23177
|
-
var version = '2.12.
|
23183
|
+
var version = '2.12.52';
|
23178
23184
|
|
23179
23185
|
function install(Vue) {
|
23180
23186
|
var components = [action_sheet, address_edit, address_list, es_area, badge, es_button, calendar, card, cascader, cell, cell_group, es_checkbox, checkbox_group, circle, col, collapse, collapse_item, contact_card, contact_edit, contact_list, count_down, es_coupon, coupon_cell, coupon_list, datetime_picker, dialog, divider, dropdown_item, dropdown_menu, empty, es_field, es_form, goods_action, goods_action_button, goods_action_icon, grid, grid_item, es_icon, es_image, image_preview, index_anchor, index_bar, es_info, es_list, es_loading, locale["a" /* default */], nav_bar, notice_bar, notify, number_keyboard, es_overlay, pagination, panel, password_input, es_picker, popover, popup, es_progress, pull_refresh, es_radio, radio_group, es_rate, row, search, share_sheet, sidebar, sidebar_item, skeleton, es_sku, slider, es_step, stepper, steps, es_sticky, submit_bar, swipe, swipe_cell, swipe_item, es_switch, switch_cell, tab, tabbar, tabbar_item, tabs, es_tag, es_toast, tree_select, uploader];
|