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

update:登录视图自定义组件

上级 a6e4656a
......@@ -95,7 +95,7 @@
contentStyle="${panelDetail.getPSRawItem().getCssStyle()}"/>
</#if>
<#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">
<app-login-button class="app-login-login" type='primary' :caption="$t('components.login.name')" @itemClick="handleItemClick" />
<#elseif panelDetail.getName == "auth_registbutton1">
<app-login-button class="app-login-register" type='success' :caption="$t('components.login.register')" @itemClick="handleItemClick" />
......@@ -104,8 +104,8 @@
<#elseif panelDetail.getPSUIAction?? && panelDetail.getPSUIAction()?? && panelDetail.getPSUIAction().getPredefinedType?? && panelDetail.getPSUIAction().getPredefinedType == "APP_LOGOUT">
<app-login-button class="app-login-logout" :caption="$t('components.login.logout')" @itemClick="handleItemClick" />
<#else>
</#if> -->
<span>按钮</span>
</#if>
<#elseif panelDetail.getItemType()?? && panelDetail.getItemType() == "CTRLPOS">
<#if view?? && view.hasPSControl?? && view.hasPSControl(panelDetail.getName())>
${P.getCtrlCode(panelDetail.getName(), 'CONTROL.html').code}
......@@ -113,13 +113,13 @@
<span>部件占位${panelDetail.getName()}</span>
</#if>
<#elseif panelDetail.getItemType()?? && panelDetail.getItemType() == "USERCONTROL">
<#-- <#if panelDetail.getPredefinedType?? && panelDetail.getPredefinedType == "AUTH_CAPTCHA">
<span>人机识别</span>
<#if panelDetail.getPredefinedType?? && panelDetail.getPredefinedType == "AUTH_CAPTCHA">
<app-login-captcha />
<#elseif panelDetail.getPredefinedType?? && panelDetail.getPredefinedType == "AUTH_SSO">
<span>第三方登录</span>
<app-login-third />
<#else>
</#if> -->
<span>用户自定义控件</span>
</#if>
<#else>
<span>${panelDetail.getItemType()}暂未支持</span>
</#if>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册