Commit a1210580 by fengzhaoyu

修改每周每月重复

parent c09d1081
......@@ -325,11 +325,11 @@ create.Page({
先选重复规则 再改时间 重复规则也要改变
暂时修改每周 每月重复问题
*/
if (this.data.recurrenceModel === 'week' && this.data.recurrenceModel.weekDayList.length === 1) {
if (this.data.recurrenceModel.model === 'weekly' && this.data.recurrenceModel.weekDayList.length === 1) {
this.setData({
recurrenceModel: this.data.comListData.repeatList[2].recurrenceModel
})
} else if (this.data.recurrenceModel === 'absolute_Monthly') {
} else if (this.data.recurrenceModel.model === 'absolute_Monthly') {
this.setData({
recurrenceModel: this.data.comListData.repeatList[4].recurrenceModel
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment