Commit cc519f8980bdbf7afcc2ae743e61f6bfb75e7e7c
1 parent
beaf4653
fix: device details object model do not restict device types
Showing
1 changed file
with
2 additions
and
1 deletions
... | ... | @@ -16,7 +16,7 @@ |
16 | 16 | @open-gateway-device="handleOpenGatewayDevice" |
17 | 17 | /> |
18 | 18 | </TabPane> |
19 | - <TabPane v-if="deviceDetail?.deviceType !== 'GATEWAY'" key="modelOfMatter" tab="物模型"> | |
19 | + <TabPane key="modelOfMatter" tab="物模型"> | |
20 | 20 | <ModelOfMatter :deviceDetail="deviceDetail" /> |
21 | 21 | </TabPane> |
22 | 22 | <!-- <TabPane key="2" tab="实时数据" v-if="deviceDetail?.deviceType !== 'GATEWAY'"> |
... | ... | @@ -105,6 +105,7 @@ |
105 | 105 | const handleOpenGatewayDevice = (data: { gatewayId: string; tbDeviceId: string }) => { |
106 | 106 | emit('openGatewayDeviceDetail', { id: data.gatewayId }); |
107 | 107 | }; |
108 | + | |
108 | 109 | return { |
109 | 110 | size, |
110 | 111 | activeKey, | ... | ... |