diff --git a/src/views/device/Instance/Detail/Diagnose/Status/index.tsx b/src/views/device/Instance/Detail/Diagnose/Status/index.tsx index 46dd955c..48707fe8 100644 --- a/src/views/device/Instance/Detail/Diagnose/Status/index.tsx +++ b/src/views/device/Instance/Detail/Diagnose/Status/index.tsx @@ -63,7 +63,7 @@ const Status = defineComponent({ } const jumpAccessConfig = () => { - menuStory.jumpPage('device/Product/Detail', { id: unref(device).productId, tab: 'access' }); + menuStory.jumpPage('device/Product/Detail', { id: unref(device).productId, tab: 'Device' }); }; const jumpDeviceConfig = () => { @@ -1380,7 +1380,7 @@ const Status = defineComponent({ > 设备接入配置 - 中${urlMap.get(unref(device)?.accessProvider) || ''}信息,任意上报一条数据 + 中{urlMap.get(unref(device)?.accessProvider) || ''}信息,任意上报一条数据 } />, @@ -1391,8 +1391,8 @@ const Status = defineComponent({ status="default" text={ - 请联系管理员提供${urlMap.get(unref(device)?.accessProvider) || ''} - 信息,并根据URL信息任意上报一条数据 + 请联系管理员提供{urlMap.get(unref(device)?.accessProvider) || ''} + 信息,并根据URL信息任意上报一条数据 } />, diff --git a/src/views/device/Instance/Detail/Diagnose/Status/util.ts b/src/views/device/Instance/Detail/Diagnose/Status/util.ts index 11811906..758a12bb 100644 --- a/src/views/device/Instance/Detail/Diagnose/Status/util.ts +++ b/src/views/device/Instance/Detail/Diagnose/Status/util.ts @@ -259,4 +259,6 @@ urlMap.set('mqtt-client-gateway', 'topic'); urlMap.set('http-server-gateway', 'url'); urlMap.set('websocket-server', 'url'); urlMap.set('coap-server-gateway', 'url'); +urlMap.set('udp-device-gateway', 'url'); +urlMap.set('tcp-server-gateway', 'url'); diff --git a/src/views/media/Device/Channel/Live/index.vue b/src/views/media/Device/Channel/Live/index.vue index 91a2d394..66688ebe 100644 --- a/src/views/media/Device/Channel/Live/index.vue +++ b/src/views/media/Device/Channel/Live/index.vue @@ -29,18 +29,16 @@ > -