vant 2.12.51 → 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/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.51';
364
+ var version = '2.12.52';
365
365
  exports.version = version;
366
366
 
367
367
  function install(Vue) {
@@ -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 || !this.showUpload) {
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
@@ -20453,7 +20453,7 @@ var uploader_createNamespace = Object(create["a" /* createNamespace */])('upload
20453
20453
  genUpload: function genUpload() {
20454
20454
  var h = this.$createElement;
20455
20455
 
20456
- if (this.fileList.length >= this.maxCount || !this.showUpload) {
20456
+ if (this.fileList.length >= this.maxCount) {
20457
20457
  return;
20458
20458
  }
20459
20459
 
@@ -20492,6 +20492,10 @@ var uploader_createNamespace = Object(create["a" /* createNamespace */])('upload
20492
20492
  }
20493
20493
 
20494
20494
  return h("div", {
20495
+ "directives": [{
20496
+ name: "show",
20497
+ value: this.showUpload
20498
+ }],
20495
20499
  "class": uploader_bem('upload', {
20496
20500
  readonly: this.readonly
20497
20501
  }),
@@ -23176,7 +23180,7 @@ TreeSelect.props = {
23176
23180
 
23177
23181
 
23178
23182
 
23179
- var version = '2.12.51';
23183
+ var version = '2.12.52';
23180
23184
 
23181
23185
  function install(Vue) {
23182
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];