var app = getApp() Page({ onLoad: function () { console.log('onLoad') }, data: { date: '2018/6/23', typeEnum: [ '长假60天', '长假60天', '长假60天' ], selectedType: 0 }, bindDateChange: function(e) { console.log('picker发送选择改变,携带值为', e.detail.value) this.setData({ date: e.detail.value.replace(/-/g, '/') }) } })