問題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' }