问题1:
test> @api.calendar.remind.record code=1 content=22
===ERROR:2014-10-27T11:11:9星期一1000:Cannot read property 'code' of undefined
=========
[TypeError: Property 'record' of object #<Object> is not a function]
test>
解决方法:
在js文件最后一行添加
export.task= task;
问题2:
参数
{
content:{
title:"1"
}
}
因为这个参数有数组中的数组
解决方法:
content={"title":"1"}
例如
test> @api.calendar.remind.record content={"title":"1"} starttime=100
{ title: '1' }