fix:限制可以联动的组件

main
liu.shiyi 2 years ago
parent e29529533a
commit 46bb9e22df

@ -204,7 +204,7 @@ export default {
}) })
} }
}) })
layouts = layouts?.filter(item => !['Tabs', 'titles', 'currentTime', 'timeCountDown', 'iframeChart', 'linkChart', 'carousel'].includes(item.type)) layouts = layouts?.filter(item => item?.option?.displayOption?.dataAllocation?.enable)
layouts = [...layouts, ...tabComponents] layouts = [...layouts, ...tabComponents]
this.targetFieldList = layouts.find( this.targetFieldList = layouts.find(
item => item.code === configMap.componentKey item => item.code === configMap.componentKey

@ -7,11 +7,11 @@
*/ */
export default { export default {
inParams: [ inParams: [
{ // {
// 组件用于入参的参数列表 // // 组件用于入参的参数列表
name: '', // 参数名 // name: '', // 参数名
code: '' // 参数值 // code: '' // 参数值
} // }
], ],
// 查询表单联动 // 查询表单联动
linkage: { linkage: {

Loading…
Cancel
Save