fullcalendar持续时间对象始终是一个字符串

问题描述

我使用的是fullcalendar的5.3.2版本,并且documentation用于Duration对象表示诸如If (-NOT ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) { $arguments = "& '" + $myinvocation.mycommand.deFinition + "'" start-process powershell -Verb runAs -ArgumentList $arguments Break } 之类的代码应返回带有4个键(包括毫秒等)的Duration对象。但是,每当我获得一个持续时间对象时,我就只返回一个简单的字符串。所以calendar.getoption('slotDuration')只会给我类似“ 05:00”的信息

这是显示返回的字符串的example而不是calendar.getoption('slotDuration')(打开控制台以查看字符串)。为什么示例没有按照文档说明的那样做?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)