File tree 2 files changed +4
-0
lines changed
example/components/Example
2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -222,6 +222,9 @@ methods: {
222
222
| slots | 选择项 | Array | | slot 配置项见下表 |
223
223
| transition | 弹出时动画效果 | String | slide-bottom | 可选值:slide-bottom |
224
224
| isShowCancelButton | 是否显示取消按钮 | Boolean | true | |
225
+ | title | 标题 | String/Number | / | |
226
+ | confirmText | 确定按钮文字 | String/Number | 确定 | |
227
+ | cancelText | 取消按钮文字 | String/Number | 取消 | |
225
228
| maskOpacity | 蒙版透明度 | Number | 0.5 | |
226
229
| maskColor | 蒙版颜色 | String | #000 | |
227
230
| onConfirm | 确认选择时的回调函数 | Function | 关闭窗体 | 传入参数:instance(实例) 和 datas(选择项数据) |
Original file line number Diff line number Diff line change @@ -124,6 +124,7 @@ export default {
124
124
return dayArr
125
125
}
126
126
this .$Picker ({
127
+ title: ' 选择日期' ,
127
128
slots: [{
128
129
type: ' data' ,
129
130
flex: 1 ,
You can’t perform that action at this time.
0 commit comments