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