diff --git a/src/components/Descriptions/src/Descriptions.vue b/src/components/Descriptions/src/Descriptions.vue index 4c175bf89..eadbce97d 100644 --- a/src/components/Descriptions/src/Descriptions.vue +++ b/src/components/Descriptions/src/Descriptions.vue @@ -151,6 +151,7 @@ const showAll = () =>{ item.valueFilter(data[item.field]) }} + {{ data[item.field] }}
diff --git a/src/types/descriptions.d.ts b/src/types/descriptions.d.ts index 70be082d8..62810c7ef 100644 --- a/src/types/descriptions.d.ts +++ b/src/types/descriptions.d.ts @@ -10,5 +10,6 @@ export interface DescriptionsSchema { labelClassName?: string dateFormat?: string // add by 星语:支持时间的格式化 valueFilter?: function // 展示的过滤函数 + slotFilter?:boolean // 插槽自定义内容 dictType?: string // add by 星语:支持 dict 字典数据 }