<!--#region 头部扩展组件 -->
<template
v-for="(item, i) in ((config.table || {}).components || []).filter(
(temp) => temp.position === 'top'&&((temp.responseField||[]).length===0||(temp.responseField||[]).includes(meta.field))
)"
>
<component
v-bind:is="item.component"
:primary-change-state="primaryChangeState"
:primary-id="config.primaryId"
:meta="meta"
:filter="filter"
v-bind:style="item.styles"
:key="i"
:menu-func="menuFunc"
v-bind="item.attrs"
form-comp-tag="bo-table"
>
</component>
</template>
<!--#endregion 头部扩展组件 -->
<!--#region 底部扩展组件 -->
<template
v-for="(item, i) in ((config.table || {}).components || []).filter(
(temp) => temp.position === 'bottom'&&((temp.responseField||[]).length===0||(temp.responseField||[]).includes(meta.field))
)"
>
<component
v-bind:is="item.component"
:primary-change-state="primaryChangeState"
:primary-id="config.primaryId"
:meta="meta"
:filter="filter"
v-bind:style="item.styles"
:key="i"
:menu-func="menuFunc"
v-bind="item.attrs"
form-comp-tag="bo-table"
>
</component>
</template>
<!--#endregion 底部扩展组件 -->
文档更新时间: 2022-01-19 07:05 作者:admin