提交 7418fc61 编写于 作者: zcdtk's avatar zcdtk

添加类型声明

上级 7170d1e5
...@@ -451,7 +451,7 @@ import moment from 'moment'; ...@@ -451,7 +451,7 @@ import moment from 'moment';
this.evendata = {<#if ctrl.getPSSysCalendarItems()??><#list ctrl.getPSSysCalendarItems() as calendaritem><#if calendaritem.getItemType()??>${calendaritem.getItemType()?lower_case}</#if>:[],</#list></#if>} this.evendata = {<#if ctrl.getPSSysCalendarItems()??><#list ctrl.getPSSysCalendarItems() as calendaritem><#if calendaritem.getItemType()??>${calendaritem.getItemType()?lower_case}</#if>:[],</#list></#if>}
<#if ctrl.getPSSysCalendarItems()??> <#if ctrl.getPSSysCalendarItems()??>
<#list ctrl.getPSSysCalendarItems() as calendaritem> <#list ctrl.getPSSysCalendarItems() as calendaritem>
let ${calendaritem.getItemType()?lower_case}Item = []; let ${calendaritem.getItemType()?lower_case}Item: Array<any> = [];
if(this.calendarItems.<#if calendaritem.getItemType()??>${calendaritem.getItemType()?lower_case}</#if>){ if(this.calendarItems.<#if calendaritem.getItemType()??>${calendaritem.getItemType()?lower_case}</#if>){
this.calendarItems.<#if calendaritem.getItemType()??>${calendaritem.getItemType()?lower_case}</#if>.forEach((item:any) => { this.calendarItems.<#if calendaritem.getItemType()??>${calendaritem.getItemType()?lower_case}</#if>.forEach((item:any) => {
if(${calendaritem.getItemType()?lower_case}Item.length == 0){ if(${calendaritem.getItemType()?lower_case}Item.length == 0){
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册