zartui 2.0.59 → 2.0.61

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/field/index.js CHANGED
@@ -785,7 +785,7 @@ export default createComponent({
785
785
  "style": "width:20px;height:20px;margin-left:12px;display:flex;justify-content:center;align-items:center;color:rgba(0,0,0,.4);"
786
786
  }, [this.showPassword ? h(Icon, {
787
787
  "attrs": {
788
- "name": "eye-open",
788
+ "name": "eye",
789
789
  "color": this.iconColor
790
790
  }
791
791
  }) : h(Icon, {
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.59';
77
+ var version = '2.0.61';
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];
package/es/tabs/Title.js CHANGED
@@ -45,9 +45,13 @@ export default createComponent({
45
45
 
46
46
  if (titleColor) {
47
47
  style.color = titleColor;
48
+ } // 可滚动的tabs,不对元素宽度进行限制
49
+
50
+
51
+ if (!this.scrollable) {
52
+ style.maxWidth = this.maxWidth;
48
53
  }
49
54
 
50
- style.maxWidth = this.maxWidth;
51
55
  return style;
52
56
  }
53
57
  },
@@ -801,7 +801,7 @@ var _default = createComponent({
801
801
  "style": "width:20px;height:20px;margin-left:12px;display:flex;justify-content:center;align-items:center;color:rgba(0,0,0,.4);"
802
802
  }, [this.showPassword ? h(_icon.default, {
803
803
  "attrs": {
804
- "name": "eye-open",
804
+ "name": "eye",
805
805
  "color": this.iconColor
806
806
  }
807
807
  }) : h(_icon.default, {
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.59';
312
+ var version = '2.0.61';
313
313
  exports.version = version;
314
314
 
315
315
  function install(Vue) {
package/lib/tabs/Title.js CHANGED
@@ -53,9 +53,13 @@ var _default = createComponent({
53
53
 
54
54
  if (titleColor) {
55
55
  style.color = titleColor;
56
+ } // 可滚动的tabs,不对元素宽度进行限制
57
+
58
+
59
+ if (!this.scrollable) {
60
+ style.maxWidth = this.maxWidth;
56
61
  }
57
62
 
58
- style.maxWidth = this.maxWidth;
59
63
  return style;
60
64
  }
61
65
  },