Commit 0b005d3154a2aba0bcb4a91d802d25ef50c2e139
1 parent
ba8e5e52
fix: hidden history data on device detail model of matter attribute is string type of struct
Showing
1 changed file
with
5 additions
and
1 deletions
@@ -170,7 +170,7 @@ | @@ -170,7 +170,7 @@ | ||
170 | name, | 170 | name, |
171 | unit, | 171 | unit, |
172 | showHistoryDataButton: !isStructAndTextType( | 172 | showHistoryDataButton: !isStructAndTextType( |
173 | - dataInfo?.detail.dataType as unknown as DateTypeEnum | 173 | + dataInfo?.detail.dataType?.type as unknown as DateTypeEnum |
174 | ), | 174 | ), |
175 | }; | 175 | }; |
176 | }); | 176 | }); |
@@ -309,6 +309,10 @@ | @@ -309,6 +309,10 @@ | ||
309 | .list-mode:deep(.ant-card-body) { | 309 | .list-mode:deep(.ant-card-body) { |
310 | padding-top: 0; | 310 | padding-top: 0; |
311 | } | 311 | } |
312 | + | ||
313 | + .list-mode:deep(.ant-card-head-title) { | ||
314 | + height: 64px; | ||
315 | + } | ||
312 | </style> | 316 | </style> |
313 | 317 | ||
314 | <style> | 318 | <style> |