fix: selectedKeys doesnot update when select device
This commit is contained in:
@@ -117,9 +117,10 @@ const renderDeviceNodePrefix = (device: NdmDeviceResultVO, stationCode: string)
|
||||
size: 'tiny',
|
||||
type: 'info',
|
||||
onClick: () => {
|
||||
// 更新选中的设备和车站编码
|
||||
// 选择设备
|
||||
selectedDevice.value = device;
|
||||
selectedStationCode.value = stationCode;
|
||||
selectedKeys.value = [device.id ?? ''];
|
||||
},
|
||||
},
|
||||
() => '选择',
|
||||
|
||||
Reference in New Issue
Block a user