sadais-piui 1.2.7-beta175 → 1.2.7-beta177

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.
@@ -13,6 +13,8 @@
13
13
  :confirm-btn="getPopupSelect.confirmBtn"
14
14
  :cancel-btn="getPopupSelect.cancelBtn"
15
15
  :popup="getPopup"
16
+ @show="$emit('show')"
17
+ @showed="$emit('showed')"
16
18
  @close="handlePopupClose"
17
19
  @cancel="handleCancel"
18
20
  @confirm="handleConfirm"
@@ -572,7 +572,7 @@ export default {
572
572
  const values = e.detail.value // values 返回的数组固定是picker的数量,只返回有变化的索引值
573
573
  const time = this.date.time // 取出当前date的实际时间
574
574
  values.forEach((value, index) => {
575
- if (value !== null) {
575
+ if (value !== null && value !== -1) {
576
576
  // value为picker列的索引值
577
577
  const col = this.columns[index]
578
578
  let val = col.items[value] // 取出对应picker值
@@ -141,6 +141,9 @@
141
141
  :popup="{
142
142
  borderRadius: 0
143
143
  }"
144
+ @show="$emit('show')"
145
+ @showed="$emit('showed')"
146
+ @close="$emit('close')"
144
147
  @select="handleActionSheetSelect"
145
148
  />
146
149
 
@@ -151,6 +154,9 @@
151
154
  :popup="{
152
155
  borderRadius: 0
153
156
  }"
157
+ @show="$emit('show')"
158
+ @showed="$emit('showed')"
159
+ @close="$emit('close')"
154
160
  @select="handleCustomTakePhotoSelect"
155
161
  />
156
162
  </view>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sadais-piui",
3
- "version": "1.2.7-beta175",
3
+ "version": "1.2.7-beta177",
4
4
  "description": "piui组件库",
5
5
  "main": "index.js",
6
6
  "scripts": {