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

更新

上级 bb075953
...@@ -172,11 +172,21 @@ ...@@ -172,11 +172,21 @@
* @memberof ${srfclassname('${view.name}')}Base * @memberof ${srfclassname('${view.name}')}Base
*/ */
protected thirdPartyInit(){ protected thirdPartyInit(){
const _this = this;
if(!this.isChildView){ if(!this.isChildView){
<#if view.getViewType?? && view.getViewType()?? && view.getViewType()!="APPINDEXVIEW"> <#if view.getViewType?? && view.getViewType()?? && view.getViewType()!="APPINDEXVIEW">
this.$viewTool.setViewTitleOfThirdParty(this.$t(this.model.srfCaption) as string); this.$viewTool.setViewTitleOfThirdParty(this.$t(this.model.srfCaption) as string);
</#if> </#if>
this.$viewTool.setThirdPartyEvent(this.closeView); this.$viewTool.setThirdPartyEvent(this.closeView);
<#assign hasRightToolBar = false/>
<#list view.getAllPSControls() as ctrl>
<#if ctrl.getControlType() == 'TOOLBAR' && ctrl.getToolbarStyle?? && ctrl.getToolbarStyle() == 'MOBNAVRIGHTMENU'>
<#assign hasRightToolBar = true/>
</#if>
</#list>
<#if hasRightToolBar>
this.$viewTool.setThirdPartyRightEvent(_this.righttoolbarModels,_this.righttoolbar_click);
</#if>
} }
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册