refactor: 明确所有 stationCode 参数的类型

This commit is contained in:
yangsy
2025-12-29 14:03:13 +08:00
parent 5170105ab8
commit 118cc8be0b

View File

@@ -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,