From d1a2b894e9cf5e4f43b65d004dfd8a4ab92551a1 Mon Sep 17 00:00:00 2001
From: xuxy <1059738716@qq.com>
Date: 星期三, 26 六月 2024 16:11:32 +0800
Subject: [PATCH] 1
---
components/dying318-picker/Picker.vue | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/components/dying318-picker/Picker.vue b/components/dying318-picker/Picker.vue
index ee9ba5b..9d89ef2 100644
--- a/components/dying318-picker/Picker.vue
+++ b/components/dying318-picker/Picker.vue
@@ -50,8 +50,8 @@
value: Object,
default() {
return {
- value: 'value',
- label: 'label',
+ value: 'id',
+ label: 'name',
children: 'children'
}
}
@@ -131,6 +131,8 @@
this.setColumn(index, pickerList)
})
this.reactModel = false;
+ console.log('init picker',this.pickerList)
+
} else {
this.setColumn(0, this.pickerList)
}
@@ -349,7 +351,7 @@
font-size: 36rpx;
}
.confirm {
- color: #007aff;
+ color: #20613D;
}
}
--
Gitblit v1.9.3