wang xiao 1 год назад
Родитель
Сommit
ba8fe12776
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 0
      src/pages/Iot/device/components/overview.vue
  2. 1 2
      src/type/iot.d.ts

+ 1 - 0
src/pages/Iot/device/components/overview.vue

@@ -46,6 +46,7 @@
         </a-descriptions-item>
         <a-descriptions-item label="注册时间">{{ dayjs(state.deviceDetail?.createAt).format('YYYY-MM-DD HH:mm:ss') }}</a-descriptions-item>
         <a-descriptions-item label="节点类型">{{ state.deviceDetail?.deviceNodeType === 'GATEWAY' ? '直连' : '非直连'}}</a-descriptions-item>
+        <a-descriptions-item label="设备所在地址">{{ state.deviceDetail?.deviceAddr}}</a-descriptions-item>
     </a-descriptions>
 
     <a-row  justify="space-between" align="middle" style="width: 100%;height: 68px; margin-bottom: 10px;" class="title">

+ 1 - 2
src/type/iot.d.ts

@@ -135,8 +135,7 @@ declare namespace IOT {
         lastConnectTs: string
         lastActivityTs: string
         authType: 'SECRET' | 'X509CERT'
-        rtsPlayUrl: string
-        rtsUrl: string
+        deviceAddr: string
       }
 
       interface DeviceTag {