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

update 模板位置

上级 bc4d9549
......@@ -2,6 +2,24 @@
../@MACRO/LAYOUTPANEL_VIEW.template.ftl
</#ibizinclude>
<#-- 附加生命周期内容 -->
<#assign created_block>
if (this.panelViewState) {
this.panelStateEvent = this.panelViewState.subscribe((res: any) => {
if (Object.is(res.tag, 'pickupviewpanel')) {
if (Object.is(res.action, 'refresh')) {
this.viewState.next({ tag: 'tree', action: 'refresh', data: res.data });
}
}
});
}
</#assign>
<#assign destroyed_block>
if (this.panelStateEvent) {
this.panelStateEvent.unsubscribe();
}
</#assign>
<#ibizinclude>
../@MACRO/VIEW_HEADER-BASE.vue.ftl
</#ibizinclude>
......@@ -51,24 +69,7 @@
*/
public panelStateEvent :Subscription | undefined;
<#-- 附加生命周期内容 -->
<#assign created_block>
if (this.panelViewState) {
this.panelStateEvent = this.panelViewState.subscribe((res: any) => {
if (Object.is(res.tag, 'pickupviewpanel')) {
if (Object.is(res.action, 'refresh')) {
this.viewState.next({ tag: 'tree', action: 'refresh', data: res.data });
}
}
});
}
</#assign>
<#assign destroyed_block>
if (this.panelStateEvent) {
this.panelStateEvent.unsubscribe();
}
</#assign>
<#ibizinclude>
../@MACRO/VIEW_BOTTOM-BASE.vue.ftl
</#ibizinclude>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册