Commit a6341c32 by 张立顺

组件bug修复

1 parent c72d9f34
......@@ -45,6 +45,7 @@ Component({
},
dateChange(e) {
let { current, source } = e.detail
let {dayType} = this.data
// console.log(source)
// console.log(current)
/**
......@@ -54,7 +55,7 @@ Component({
*/
source == 'touch' &&
this.setData({
current
[dayType?'current':'yearCurrent']:current
})
},
bindDateChange: function (e) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!