Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ionic-framework/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Typescript Ion2日历问题_Typescript_Ionic Framework_Ionic5 - Fatal编程技术网

Typescript Ion2日历问题

Typescript Ion2日历问题,typescript,ionic-framework,ionic5,Typescript,Ionic Framework,Ionic5,我不熟悉这个模块。我想要一个日历模式日期,从今天到365天后。我将CalendarModa选项设置为: const options: CalendarModalOptions = { title: ''. from: new Date(), to: new Date(Date.now() + 24* 60 * 60 * 1000 * 365) } 然后当我滚动日历模式时,似乎缺少了几个月,或者我定义选项的方式是错误的

我不熟悉这个模块。我想要一个日历模式日期,从今天到365天后。我将CalendarModa选项设置为:

const options: CalendarModalOptions = {
    title: ''.
    from: new Date(),
    to: new Date(Date.now() + 24* 60 * 60 * 1000 * 365)
}
然后当我滚动日历模式时,似乎缺少了几个月,或者我定义选项的方式是错误的