wx.addPhoneCalendar({
...that.data.remindInfo,
success(res) {
console.log(res)
// wx.setStorageSync('isadd1',true)
wx.showToast({
title: '日历提醒添加成功',
icon: 'success',
});
},
fail(res) {
console.log(res)
wx.showToast({
title: '日历提醒添加失败',
icon: 'error',
});
}
})
小米手机试了,可以啊,你是报什么错?