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

子视图参数

上级 85a33da0
......@@ -100,6 +100,7 @@
this.afterMounted();
}
/**
* 执行mounted后的逻辑
*
......@@ -113,7 +114,9 @@
if (_this.loadModel && _this.loadModel instanceof Function) {
_this.loadModel();
}
this.$viewTool.setViewTitleOfThirdParty(this.$t(this.model.srfCaption) as string);
if(!this.isChildView){
this.$viewTool.setViewTitleOfThirdParty(this.$t(this.model.srfCaption) as string);
}
<#if mounted_block??>${mounted_block}</#if>
}
......
......@@ -123,6 +123,14 @@ export default class ${srfclassname('${view.name}')}Base extends Vue {
*/
protected viewparams: any = {};
/**
* 是否为子视图
*
* @type {boolean}
* @memberof ${srfclassname('${view.name}')}Base
*/
@Prop({ default: false }) protected isChildView?: boolean;
/**
* 视图导航上下文
*
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册