diff --git a/src/components/device/device-tree/device-tree.vue b/src/components/device/device-tree/device-tree.vue index 721e0be..ddb3a9b 100644 --- a/src/components/device/device-tree/device-tree.vue +++ b/src/components/device/device-tree/device-tree.vue @@ -252,7 +252,7 @@ const renderIcmpStatistics = (onlineCount: number, offlineCount: number, count: ]); }; const renderDeviceNodePrefix = (device: NdmDeviceResultVO, stationCode: Station['code']) => { - const renderViewDeviceButton = (device: NdmDeviceResultVO, stationCode: string) => { + const renderViewDeviceButton = (device: NdmDeviceResultVO, stationCode: Station['code']) => { if (!devicePrefixLabel.value) return null; return h( NButton,