mali-applet-ui 1.0.105 → 1.0.107

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.
@@ -130,7 +130,7 @@ export default {
130
130
  }
131
131
  }
132
132
  if (rule.required) {
133
- if (XEUtils.eqNull(itemValue) || itemValue === '') {
133
+ if (!itemValue) {
134
134
  errRule = rule
135
135
  break
136
136
  }
@@ -49,21 +49,17 @@
49
49
  <view class="ml-tree-node__explain" v-if="item[useProps.explain]">{{ item[useProps.explain] }}</view>
50
50
  </view>
51
51
  <view class="ml-tree-node__extra">
52
- <view class="ml-tree-node__extra-item" @tap.stop="handleClickIcon($event, item)">
53
- <MlTreeIcon
54
- :margin-right="15"
55
- :info="getSuffixIcon(item)"
56
- />
57
- </view>
58
- <view
59
- @tap.stop="handleIntoChildren(item)"
60
- class="ml-tree-node__extra-item"
61
- v-if="(item.children && item.children.length) || (lazy && !item.isLeaf)">
62
- <MlTreeIcon
63
- :margin-right="15"
64
- :info="{ icon: 'arrow-right' }"
65
- />
66
- </view>
52
+ <MlTreeIcon
53
+ :margin-right="15"
54
+ :info="getSuffixIcon(item)"
55
+ @tap-icon.stop="handleClickIcon($event, item)"
56
+ />
57
+ <MlTreeIcon
58
+ v-if="(item.children && item.children.length) || (lazy && !item.isLeaf)"
59
+ :margin-right="15"
60
+ :info="{ icon: 'arrow-right' }"
61
+ @tap-icon.stop="handleIntoChildren(item)"
62
+ />
67
63
  </view>
68
64
  </view>
69
65
  </template>
@@ -30,7 +30,10 @@ export default {
30
30
 
31
31
  <style lang="scss" scoped>
32
32
  .ml-tree-node__icon {
33
- display: inline-flex;
33
+ height: 100%;
34
+ display: flex;
34
35
  padding: 0 10rpx;
36
+ align-items: center;
37
+ justify-content: center;
35
38
  }
36
39
  </style>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mali-applet-ui",
3
- "version": "1.0.105",
3
+ "version": "1.0.107",
4
4
  "description": "码里云小程序组件库",
5
5
  "files": [
6
6
  "lib",