提交 b29f56af 编写于 作者: JunZai's avatar JunZai

update

上级 dd0a309e
......@@ -5,7 +5,7 @@
../../@MACRO/LANG_FUN.ftl
</#ibizinclude>
<template>
<el-table :data="items" row-key="id" border lazy :load="loadTreeNode" :tree-props="{ children: 'children', hasChildren: 'leaf' }">
<el-table ref="${ctrl.name}" :data="items" row-key="id" border lazy :load="loadTreeNode" :tree-props="{ children: 'children', hasChildren: 'leaf' }">
<#if ctrl.getPSDETreeColumns()??>
<#list ctrl.getPSDETreeColumns() as column>
<el-table-column show-overflow-tooltip prop="${column.getName()?lower_case}" label="${column.getCaption()}"<#if column.getWidthUnit()!='STAR'> :width="${column.getWidth()?c}" <#else> :min-width="${column.getWidth()?c}" </#if> :align="'${column.getAlign()?lower_case}'">
......
......@@ -544,6 +544,7 @@ import ${srfclassname('${node.getPSAppDataEntity().codeName}')}Service from '@se
</#if>
<#if node.hasPSDETreeNodeRSs()>
Object.assign(treeNode, { leaf: true });
Object.assign(treeNode, { children: [] });
<#else>
Object.assign(treeNode, { leaf: false });
</#if>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册