sadais-piui 1.2.7-beta89 → 1.2.7-beta90

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.
@@ -62,9 +62,9 @@
62
62
  selected: selectedIds.includes(item[keyField])
63
63
  }"
64
64
  >
65
- <view class="pi-flex-sub">
65
+ <view class="pi-flex-sub column-item-inner">
66
66
  <slot name="item" :item="item">
67
- <view class="pi-align-center">
67
+ <view class="pi-align-center column-item-inner">
68
68
  <pi-checkbox
69
69
  v-if="parentCanSelect"
70
70
  :value="selectedIds.includes(item[keyField])"
@@ -73,9 +73,9 @@
73
73
  class="pi-mg-right-16"
74
74
  @change="handleChangeParentSelect(item, $event)"
75
75
  />
76
- <text class="pi-lh-36 pi-flex-sub" @click="handleClickItem(item)">
76
+ <view class="pi-align-center pi-lh-36 pi-flex-sub column-item-inner" @click="handleClickItem(item)">
77
77
  {{ item[displayField] || '' }}
78
- </text>
78
+ </view>
79
79
  </view>
80
80
  </slot>
81
81
  </view>
@@ -123,7 +123,9 @@
123
123
  @click="handleClickItem(item)"
124
124
  >
125
125
  <pi-icon v-if="index > 0" name="right" custom-class="pi-mg-lr-6" />
126
- <view class="breadcrumb-item-title">
126
+ <view
127
+ class="breadcrumb-item-title"
128
+ >
127
129
  {{ item[displayField] }}
128
130
  </view>
129
131
  </view>
@@ -531,10 +533,13 @@ export default {
531
533
  min-height: 100rpx;
532
534
  width: 100%;
533
535
  white-space: initial;
534
- padding: 16rpx 32rpx;
536
+ padding: 16rpx 32rpx;
535
537
  font-size: 28rpx;
536
538
  color: #333333;
537
539
  overflow: hidden;
540
+ .column-item-inner {
541
+ min-height: 100rpx;
542
+ }
538
543
  &.active {
539
544
  color: $pi-primary-color;
540
545
  background: #ffffff;
@@ -212,7 +212,7 @@ export default {
212
212
  if (this.getSelect.isMulti) {
213
213
  this.handleSelectConfirm([])
214
214
  } else {
215
- $pi.lang.isObject(this.val)
215
+ this.$pi.lang.isObject(this.val)
216
216
  ? this.handleSelectConfirm({ [this.getSelect.keyField]: '' })
217
217
  : this.handleSelectConfirm('')
218
218
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sadais-piui",
3
- "version": "1.2.7-beta89",
3
+ "version": "1.2.7-beta90",
4
4
  "description": "piui组件库",
5
5
  "main": "index.js",
6
6
  "scripts": {