sadais-piui 1.2.7-beta175 → 1.2.7-beta176
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.
|
@@ -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值
|