zartui 2.1.5 → 2.1.6

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.
@@ -192,7 +192,7 @@ export default createComponent({
192
192
  "class": bem()
193
193
  }, [this.dataList.map(function (item, index) {
194
194
  return h("div", {
195
- "class": [bem("score-item"), _this4.isDisabled(item) ? bem("disable-parent") : '', item.disable ? bem("disable") : '']
195
+ "class": [bem("score-item"), _this4.isDisabled(item) ? bem("disable-parent") : '', item.disable ? bem("disable") : '', item && item.children ? bem("score-node") : bem('score-leaf')]
196
196
  }, [_this4.multiple ? h("div", {
197
197
  "class": bem("multiple-button"),
198
198
  "on": {
@@ -201,7 +201,7 @@ export default createComponent({
201
201
  }
202
202
  }
203
203
  }, [_this4.getMultipleDom(item)]) : h(), h("div", {
204
- "class": [bem("item-content"), item && item.children ? bem("item-node") : ''],
204
+ "class": [bem("item-content")],
205
205
  "on": {
206
206
  "click": function click() {
207
207
  _this4.selected(item);
package/es/index.js CHANGED
@@ -75,7 +75,7 @@ import TextEllipsis from './text-ellipsis';
75
75
  import Timeline from './timeline';
76
76
  import Toast from './toast';
77
77
  import Uploader from './uploader';
78
- var version = '2.1.5';
78
+ var version = '2.1.6';
79
79
 
80
80
  function install(Vue) {
81
81
  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, TextEllipsis, Timeline, Toast, Uploader];
@@ -202,7 +202,7 @@ var _default2 = createComponent({
202
202
  "class": bem()
203
203
  }, [this.dataList.map(function (item, index) {
204
204
  return h("div", {
205
- "class": [bem("score-item"), _this4.isDisabled(item) ? bem("disable-parent") : '', item.disable ? bem("disable") : '']
205
+ "class": [bem("score-item"), _this4.isDisabled(item) ? bem("disable-parent") : '', item.disable ? bem("disable") : '', item && item.children ? bem("score-node") : bem('score-leaf')]
206
206
  }, [_this4.multiple ? h("div", {
207
207
  "class": bem("multiple-button"),
208
208
  "on": {
@@ -211,7 +211,7 @@ var _default2 = createComponent({
211
211
  }
212
212
  }
213
213
  }, [_this4.getMultipleDom(item)]) : h(), h("div", {
214
- "class": [bem("item-content"), item && item.children ? bem("item-node") : ''],
214
+ "class": [bem("item-content")],
215
215
  "on": {
216
216
  "click": function click() {
217
217
  _this4.selected(item);
package/lib/index.js CHANGED
@@ -313,7 +313,7 @@ exports.Toast = _toast.default;
313
313
  var _uploader = _interopRequireDefault(require("./uploader"));
314
314
 
315
315
  exports.Uploader = _uploader.default;
316
- var version = '2.1.5';
316
+ var version = '2.1.6';
317
317
  exports.version = version;
318
318
 
319
319
  function install(Vue) {