微调
This commit is contained in:
parent
47f0f93c0c
commit
c110a716ed
@ -167,7 +167,7 @@ function updateMap() {
|
||||
? 'Q'
|
||||
: 'H';
|
||||
if (refDeviceData) {
|
||||
return `${refDeviceData?.device}_${refDeviceData?.combinationtype}_${relay.datas.code}_${pos}`;
|
||||
return `${refDeviceData.device}_${refDeviceData.combinationtype}_${relay.datas.code}_${pos}`;
|
||||
} else {
|
||||
return `${conbinationData}_${relay.datas.code}_${pos}`;
|
||||
}
|
||||
|
@ -163,7 +163,7 @@ function updateMap() {
|
||||
.getDrawApp()
|
||||
.queryStore.queryById<Relay>(refRelay);
|
||||
if (refDeviceData) {
|
||||
return `${refDeviceData?.device}_${refDeviceData?.combinationtype}_${relay.datas.code}`;
|
||||
return `${refDeviceData.device}_${refDeviceData.combinationtype}_${relay.datas.code}`;
|
||||
} else {
|
||||
return `${conbinationData}_${relay.datas.code}`;
|
||||
}
|
||||
|
@ -162,6 +162,7 @@ export function initDrawApp(): IDrawApp {
|
||||
refRelaysList = [];
|
||||
combinationTypeList = [];
|
||||
refRelaysListMap.clear();
|
||||
combinationListMap.clear();
|
||||
});
|
||||
return drawApp;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user