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

update:登录按钮

上级 75be1b85
...@@ -95,17 +95,17 @@ ...@@ -95,17 +95,17 @@
contentStyle="${panelDetail.getPSRawItem().getCssStyle()}"/> contentStyle="${panelDetail.getPSRawItem().getCssStyle()}"/>
</#if> </#if>
<#elseif panelDetail.getItemType()?? && panelDetail.getItemType() == "BUTTON"> <#elseif panelDetail.getItemType()?? && panelDetail.getItemType() == "BUTTON">
<#-- <#if panelDetail.getPSUIAction?? && panelDetail.getPSUIAction()?? && panelDetail.getPSUIAction().getPredefinedType?? && panelDetail.getPSUIAction().getPredefinedType == "APP_LOGIN"> <#if panelDetail.getPSUIAction?? && panelDetail.getPSUIAction()?? && panelDetail.getPSUIAction().getPredefinedType?? && panelDetail.getPSUIAction().getPredefinedType == "APP_LOGIN">
<span>登录按钮</span> <app-login-button class="app-login-login" type='primary' :caption="$t('components.login.name')" @itemClick="handleItemClick" />
<#elseif panelDetail.getName == "auth_registbutton1"> <#elseif panelDetail.getName == "auth_registbutton1">
<span>注册按钮</span> <app-login-button class="app-login-register" type='success' :caption="$t('components.login.register')" @itemClick="handleItemClick" />
<#elseif panelDetail.getPSUIAction?? && panelDetail.getPSUIAction()?? && panelDetail.getPSUIAction().getPredefinedType?? && panelDetail.getPSUIAction().getPredefinedType == "DATA_CANCELCHANGES"> <#elseif panelDetail.getPSUIAction?? && panelDetail.getPSUIAction()?? && panelDetail.getPSUIAction().getPredefinedType?? && panelDetail.getPSUIAction().getPredefinedType == "DATA_CANCELCHANGES">
<span>重置按钮</span> <app-login-button class="app-login-reset" type='success' :caption="$t('components.login.reset')" @itemClick="handleItemClick" />
<#elseif panelDetail.getPSUIAction?? && panelDetail.getPSUIAction()?? && panelDetail.getPSUIAction().getPredefinedType?? && panelDetail.getPSUIAction().getPredefinedType == "APP_LOGOUT"> <#elseif panelDetail.getPSUIAction?? && panelDetail.getPSUIAction()?? && panelDetail.getPSUIAction().getPredefinedType?? && panelDetail.getPSUIAction().getPredefinedType == "APP_LOGOUT">
<span>登出</span> <app-login-button class="app-login-logout" :caption="$t('components.login.logout')" @itemClick="handleItemClick" />
<#else> <#else>
</#if> -->
<span>按钮</span> <span>按钮</span>
</#if>
<#elseif panelDetail.getItemType()?? && panelDetail.getItemType() == "CTRLPOS"> <#elseif panelDetail.getItemType()?? && panelDetail.getItemType() == "CTRLPOS">
<#if view?? && view.hasPSControl?? && view.hasPSControl(panelDetail.getName())> <#if view?? && view.hasPSControl?? && view.hasPSControl(panelDetail.getName())>
${P.getCtrlCode(panelDetail.getName(), 'CONTROL.html').code} ${P.getCtrlCode(panelDetail.getName(), 'CONTROL.html').code}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册