{"action":"opened","issue":{"url":"https://api.github.com/repos/youzan/vant-weapp/issues/924","repository_url":"https://api.github.com/repos/youzan/vant-weapp","labels_url":"https://api.github.com/repos/youzan/vant-weapp/issues/924/labels{/name}","comments_url":"https://api.github.com/repos/youzan/vant-weapp/issues/924/comments","events_url":"https://api.github.com/repos/youzan/vant-weapp/issues/924/events","html_url":"https://github.com/youzan/vant-weapp/issues/924","id":381958006,"node_id":"MDU6SXNzdWUzODE5NTgwMDY=","number":924,"title":"DatetimePicker 时间选择onchange返回值不对","user":{"login":"changeLong","id":13422021,"node_id":"MDQ6VXNlcjEzNDIyMDIx","avatar_url":"https://avatars0.githubusercontent.com/u/13422021?v=4","gravatar_id":"","url":"https://api.github.com/users/changeLong","html_url":"https://github.com/changeLong","followers_url":"https://api.github.com/users/changeLong/followers","following_url":"https://api.github.com/users/changeLong/following{/other_user}","gists_url":"https://api.github.com/users/changeLong/gists{/gist_id}","starred_url":"https://api.github.com/users/changeLong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/changeLong/subscriptions","organizations_url":"https://api.github.com/users/changeLong/orgs","repos_url":"https://api.github.com/users/changeLong/repos","events_url":"https://api.github.com/users/changeLong/events{/privacy}","received_events_url":"https://api.github.com/users/changeLong/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-18T13:01:01Z","updated_at":"2018-11-18T13:01:01Z","closed_at":null,"author_association":"NONE","body":"![image](https://user-images.githubusercontent.com/13422021/48672741-bcbc7080-eb74-11e8-8090-fe0a9489f1b5.png)\r\n![image](https://user-images.githubusercontent.com/13422021/48672750-e07fb680-eb74-11e8-8195-c71d4caf87ec.png)\r\nonchage中，event.detail.value 根本就没有；\r\n\r\n<van-datetime-picker\r\n        type=\"date\"\r\n        value=\"{{ currentDate }}\"\r\n        min-date=\"{{ minDate }}\"\r\n        bind:change=\"dpChange\"\r\n      />\r\n\r\ndata: {\r\n   \r\n    minDate: new Date(),  //时间选择最小时间\r\n    currentDate: new Date(),  //时间选择当前时间\r\n  },\r\n\r\ndpChange(event){\r\n    console.log(event.detail)\r\n    this.setData({\r\n      currentDate: event.detail.value\r\n    });\r\n  },"}}
{"actor":{"display_login":"changeLong"}}