zartui 2.0.73 → 2.0.75

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/index.js CHANGED
@@ -74,7 +74,7 @@ import Tag from './tag';
74
74
  import Timeline from './timeline';
75
75
  import Toast from './toast';
76
76
  import Uploader from './uploader';
77
- var version = '2.0.73';
77
+ var version = '2.0.75';
78
78
 
79
79
  function install(Vue) {
80
80
  var components = [ActionSheet, Area, Avatar, BackTop, Badge, Button, Calendar, Cascader, Cell, CellGroup, Checkbox, CheckboxGroup, Col, Collapse, CollapseItem, CountDown, DatetimePicker, Dialog, Divider, DropdownItem, DropdownMenu, Empty, Field, FoldDialog, Form, Grid, GridItem, HierarchySelect, Icon, Image, ImagePreview, IndexAnchor, IndexBar, Info, Lazyload, List, Loading, Locale, MediaPicker, MediaPlayer, MultiplePicker, NavBar, NoticeBar, NumberKeyboard, Overlay, PasswordInput, Picker, Popover, Popup, PullRefresh, Radio, RadioGroup, Rate, Row, Search, Signature, Skeleton, Slider, Step, Stepper, Steps, Sticky, Swipe, SwipeCell, SwipeItem, Switch, SwitchCell, Tab, Tabbar, TabbarItem, Table, Tabs, Tag, Timeline, Toast, Uploader];
@@ -539,14 +539,21 @@ export default createComponent({
539
539
  lastModified: f.lastModified,
540
540
  type: f.type
541
541
  }),
542
- //需要以原始file的信息作为唯一标识
542
+ // 需要以原始file的信息作为唯一标识
543
543
  uniqueCode: getFileUniqueCode(file),
544
544
  lastModified: f.lastModified,
545
545
  fileSize: f.size,
546
+ // 修改后大小,水印,压缩等
547
+ fileName: f.name,
548
+ // 修改后名称
546
549
  deletable: true,
547
550
  status: '',
548
551
  message: '',
549
- orignalName: f.name
552
+ orignalName: f.name,
553
+ originalName: file.name,
554
+ // 原始名称
555
+ originalSize: file.size // 原始大小
556
+
550
557
  });
551
558
  });
552
559
  });
package/lib/index.js CHANGED
@@ -309,7 +309,7 @@ exports.Toast = _toast.default;
309
309
  var _uploader = _interopRequireDefault(require("./uploader"));
310
310
 
311
311
  exports.Uploader = _uploader.default;
312
- var version = '2.0.73';
312
+ var version = '2.0.75';
313
313
  exports.version = version;
314
314
 
315
315
  function install(Vue) {
@@ -585,14 +585,21 @@ var _default2 = createComponent({
585
585
  lastModified: f.lastModified,
586
586
  type: f.type
587
587
  }),
588
- //需要以原始file的信息作为唯一标识
588
+ // 需要以原始file的信息作为唯一标识
589
589
  uniqueCode: (0, _mediaUtil.getFileUniqueCode)(file),
590
590
  lastModified: f.lastModified,
591
591
  fileSize: f.size,
592
+ // 修改后大小,水印,压缩等
593
+ fileName: f.name,
594
+ // 修改后名称
592
595
  deletable: true,
593
596
  status: '',
594
597
  message: '',
595
- orignalName: f.name
598
+ orignalName: f.name,
599
+ originalName: file.name,
600
+ // 原始名称
601
+ originalSize: file.size // 原始大小
602
+
596
603
  });
597
604
  });
598
605
  });