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

更新日志组件

上级 915b9f1d
${P.getCtrlCode('appmenu', 'CONTROL.html').code}
\ No newline at end of file <div class="indexView">
${P.getCtrlCode('appmenu', 'CONTROL.html').code}
<app-update-log v-if="updateLogStatus"></app-update-log>
</div>
\ No newline at end of file
...@@ -11,6 +11,9 @@ ...@@ -11,6 +11,9 @@
this.$viewTool.setIndexParameters([{ pathName: '${view.getCodeName()?lower_case}', parameterName: '${view.getCodeName()?lower_case}' }]); this.$viewTool.setIndexParameters([{ pathName: '${view.getCodeName()?lower_case}', parameterName: '${view.getCodeName()?lower_case}' }]);
this.$viewTool.setIndexViewParam(this.context); this.$viewTool.setIndexViewParam(this.context);
</#assign> </#assign>
<#assign created_block>
this.updateLogStatus = Environment.useUpdateLog && !localStorage.getItem('updateLogStatus')?true:false;
</#assign>
<#ibizinclude> <#ibizinclude>
../@MACRO/VIEW_CONTENT-BASE.vue.ftl ../@MACRO/VIEW_CONTENT-BASE.vue.ftl
...@@ -41,6 +44,14 @@ ...@@ -41,6 +44,14 @@
} }
} }
/**
* 显示更新日志
*
* @readonly
* @memberof ${srfclassname('${view.name}')}Base
*/
public updateLogStatus:boolean = true;
/** /**
* 当前字体 * 当前字体
* *
......
...@@ -48,7 +48,9 @@ export const Environment = { ...@@ -48,7 +48,9 @@ export const Environment = {
// 访客模式地址 // 访客模式地址
VisitorsUrl: '', VisitorsUrl: '',
// 默认菜单 // 默认菜单
useDefaultMenu:true useDefaultMenu: true,
// 启用更新日志
useUpdateLog: false,
}; };
// 挂载外部配置文件 // 挂载外部配置文件
if ((window as any).Environment) { if ((window as any).Environment) {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册