提交 72e952b7 编写于 作者: KK's avatar KK

模板问题

上级 2012e58f
...@@ -164,16 +164,16 @@ ...@@ -164,16 +164,16 @@
* @memberof ${srfclassname('${view.name}')}Base * @memberof ${srfclassname('${view.name}')}Base
*/ */
public mdctrl_click(item:any,tag:string){ public mdctrl_click(item:any,tag:string){
<#if mdctrl.getPSDEUIActionGroup()?? && ctrl.getPSDEUIActionGroup().getPSUIActionGroupDetails()??> <#if mdctrl.getPSDEUIActionGroup()?? && mdctrl.getPSDEUIActionGroup().getPSUIActionGroupDetails()??>
<#assign details = ctrl.getPSDEUIActionGroup().getPSUIActionGroupDetails()> <#assign details = mdctrl.getPSDEUIActionGroup().getPSUIActionGroupDetails()>
<#list details as detail> <#list details as detail>
if (Object.is(tag, '${detail.getName()}')) { if (Object.is(tag, '${detail.getName()}')) {
this.mdctrl_${detail.getName()}_click(); this.mdctrl_${detail.getName()}_click();
} }
</#list> </#list>
</#if> </#if>
<#if mdctrl.getPSDEUIActionGroup2()?? && ctrl.getPSDEUIActionGroup2().getPSUIActionGroupDetails()??> <#if mdctrl.getPSDEUIActionGroup2()?? && mdctrl.getPSDEUIActionGroup2().getPSUIActionGroupDetails()??>
<#assign details = ctrl.getPSDEUIActionGroup2().getPSUIActionGroupDetails()> <#assign details = mdctrl.getPSDEUIActionGroup2().getPSUIActionGroupDetails()>
<#list details as detail> <#list details as detail>
if (Object.is(tag, '${detail.getName()}')) { if (Object.is(tag, '${detail.getName()}')) {
this.mdctrl_${detail.getName()}_click(); this.mdctrl_${detail.getName()}_click();
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册