提交 f0d6a3cf 编写于 作者: Mosher's avatar Mosher

update:更新

上级 16a69dc0
...@@ -99,7 +99,7 @@ export default class ${srfclassname('${ctrl.codeName}')}Base extends Vue impleme ...@@ -99,7 +99,7 @@ export default class ${srfclassname('${ctrl.codeName}')}Base extends Vue impleme
* @type {*} * @type {*}
* @memberof ${srfclassname('${ctrl.codeName}')}Base * @memberof ${srfclassname('${ctrl.codeName}')}Base
*/ */
@Watch('pViewCtx', { immediate: true, deep: true }) @Watch('pViewCtx', { immediate: true })
public onViewCtxChange(newVal: any, oldVal: any) { public onViewCtxChange(newVal: any, oldVal: any) {
Object.assign(this.viewCtx, newVal, { xData: this, ctrl: this }); Object.assign(this.viewCtx, newVal, { xData: this, ctrl: this });
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册