提交 acc23a67 编写于 作者: zcdtk's avatar zcdtk

upate

上级 74ec59b7
......@@ -86,11 +86,10 @@ export default class ${srfclassname('${ctrl.codeName}')}Base extends Vue impleme
/**
* 全局 ui 服务
*
* @private
* @type {GlobalUiService}
* @memberof ${srfclassname('${ctrl.codeName}')}
*/
private globaluiservice: GlobalUiService = new GlobalUiService();
protected globaluiservice: GlobalUiService = new GlobalUiService();
/**
* 建构部件服务对象
......
......@@ -7,21 +7,19 @@
/**
* 视图引擎
*
* @private
* @type {Engine}
* @memberof ${srfclassname('${view.name}')}Base
*/
private ${engine.getName()?lower_case}: ${engine.getEngineType()}Engine = new ${engine.getEngineType()}Engine();
protected ${engine.getName()?lower_case}: ${engine.getEngineType()}Engine = new ${engine.getEngineType()}Engine();
</#list>
</#if>
/**
* 引擎初始化
*
* @private
* @memberof ${srfclassname('${view.name}')}Base
*/
private engineInit(): void {
protected engineInit(): void {
<#if view.getPSAppViewEngines()??>
<#list view.getPSAppViewEngines() as engine>
this.${engine.getName()?lower_case}.init({
......
......@@ -25,11 +25,10 @@ export default class ${srfclassname('${view.name}')}Base extends Vue {
/**
* 全局 ui 服务
*
* @private
* @type {GlobalUiService}
* @memberof ${srfclassname('${view.name}')}Base
*/
private globaluiservice: GlobalUiService = new GlobalUiService();
protected globaluiservice: GlobalUiService = new GlobalUiService();
<#if appde??>
/**
......@@ -56,20 +55,18 @@ export default class ${srfclassname('${view.name}')}Base extends Vue {
/**
* 视图上下文
*
* @private
* @type {string}
* @memberof ${srfclassname('${view.name}')}Base
*/
@Prop() private _context!: string;
@Prop() protected _context!: string;
/**
* 视图参数
*
* @private
* @type {string}
* @memberof ${srfclassname('${view.name}')}Base
*/
@Prop() private _viewparams!: string;
@Prop() protected _viewparams!: string;
/**
* 视图默认使用
......@@ -179,7 +176,6 @@ export default class ${srfclassname('${view.name}')}Base extends Vue {
/**
* 视图状态订阅对象
*
* @private
* @type {Subject<{action: string, data: any}>}
* @memberof ${srfclassname('${view.name}')}Base
*/
......@@ -196,10 +192,9 @@ ${P.getCtrlCode(ctrl, 'CONTROL.vue').code}
/**
* 解析视图参数
*
* @private
* @memberof ${srfclassname('${view.name}')}Base
*/
private parseViewParam(): void {
protected parseViewParam(): void {
if (!this.viewDefaultUsage && this._context && !Object.is(this._context, '')) {
Object.assign(this.context, JSON.parse(this._context));
<#if self_viewparam??>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册