提交 84841c54 编写于 作者: RedPig97's avatar RedPig97

update:修复报错

上级 279c0fa3
...@@ -105,11 +105,11 @@ import ${srfclassname('${_appde.getCodeName()}')}Service from '@/service/${srffi ...@@ -105,11 +105,11 @@ import ${srfclassname('${_appde.getCodeName()}')}Service from '@/service/${srffi
_data.push(..._response.data); _data.push(..._response.data);
}); });
// 排序 // 排序
_data.sort((a:any, b:any)=>{ <#noparse>_data.sort((a:any, b:any)=>{
let dateA = new Date(Date.parse(a.start?.replace(/-/g, "/"))); let dateA = new Date(Date.parse(a.start?.replace(/-/g, "/")));
let dateB = new Date(Date.parse(b.start?.replace(/-/g, "/"))); let dateB = new Date(Date.parse(b.start?.replace(/-/g, "/")));
return dateA > dateB ? 1 : -1 ; return dateA > dateB ? 1 : -1 ;
}); });</#noparse>
let result = {status: 200, data: _data}; let result = {status: 200, data: _data};
resolve(result); resolve(result);
}).catch((response: any) => { }).catch((response: any) => {
......
...@@ -800,7 +800,7 @@ draggable, ...@@ -800,7 +800,7 @@ draggable,
<#if logic.getPSAppViewUIAction().getPSUIAction()??> <#if logic.getPSAppViewUIAction().getPSUIAction()??>
<#assign action = logic.getPSAppViewUIAction().getPSUIAction()> <#assign action = logic.getPSAppViewUIAction().getPSUIAction()>
if(Object.is('${action.getUIActionTag()}', tag)) { if(Object.is('${action.getUIActionTag()}', tag)) {
this.${logic.getName()}(row, tag, $event); this['${logic.getName()}'](row, tag, $event);
} }
</#if> </#if>
</#list> </#list>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册