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

调用删除和更新方法异常

上级 c507c68e
......@@ -90,9 +90,9 @@
break;
<#else>
case "${calendarItem.getItemType()}":
context _service: any = await this.getService('${_appde.getCodeName()?lower_case}');
if (_service && _service[${_deAction.getCodeName()}] && _service[${_deAction.getCodeName()}] instanceof Function) {
response = await _service[${_deAction.getCodeName()}](context, data);
const _service: any = await this.getService('${_appde.getCodeName()?lower_case}');
if (_service && _service['${_deAction.getCodeName()}'] && _service['${_deAction.getCodeName()}'] instanceof Function) {
response = await _service['${_deAction.getCodeName()}'](context, data);
}
break;
</#if>
......@@ -133,9 +133,9 @@
break;
<#else>
case "${calendarItem.getItemType()}":
context _service: any = await this.getService('${_appde.getCodeName()?lower_case}');
if (_service && _service[${_deAction.getCodeName()}] && _service[${_deAction.getCodeName()}] instanceof Function) {
response = await _service[${_deAction.getCodeName()}](context, data);
const _service: any = await this.getService('${_appde.getCodeName()?lower_case}');
if (_service && _service['${_deAction.getCodeName()}'] && _service['${_deAction.getCodeName()}'] instanceof Function) {
response = await _service['${_deAction.getCodeName()}'](context, data);
}
break;
</#if>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册