微调
This commit is contained in:
parent
4924dd48fe
commit
b433c7d52f
@ -145,7 +145,9 @@ watch(
|
||||
selectGraphic = Array.from(new Set(selectGraphic));
|
||||
relayCabinetStore.getDrawApp().updateSelected(...selectGraphic);
|
||||
relateRelayConfig.value.combinationtypes[clickIndex].refRelaysCode =
|
||||
selectGraphic.map((g) => (g as Relay).datas.code) as string[];
|
||||
selectGraphic.map((g) =>
|
||||
(g as Relay).datas.code == '' ? g.id : (g as Relay).datas.code
|
||||
);
|
||||
relateRelayConfig.value.combinationtypes[clickIndex].refRelays =
|
||||
selectGraphic.map((g) => g.id) as string[];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user