|
[插件使用]
api.notification闹钟设置通知一直不变
[复制链接]
api.notification({
notify: {
content: "开始吃饭了"
},
alarm: {
hour: 19,
minutes:04,
daysOfWeek: [1,2,3,4,5,6,7]
}
}, function(ret, err){
if( ret ){
alert( JSON.stringify( ret ) );
}else{
alert( JSON.stringify( err ) );
}
});
这个api.notification闹钟设置只要第一次 content设置成什么样,不过以后怎么设置content,他还是第一次的content通知内容
比如第一次api.notification的闹钟模式的content设置为开始吃饭了,以后的不管改成什么,都是开始吃饭了
|
|