信标只属于浙大网新
This commit is contained in:
parent
d600578f0e
commit
2ff70db160
@ -428,20 +428,7 @@ onMounted(() => {
|
||||
EsbButton.Type,
|
||||
SlopeKiloMarker.Type,
|
||||
CurvatureKiloMarker.Type,
|
||||
Beacon.Type,
|
||||
];
|
||||
drawAssistantsTypes.forEach((type) => {
|
||||
const drawAssistant = drawStore.getDrawApp().getDrawAssistant(type);
|
||||
if (drawAssistant) {
|
||||
utilsOption.push(
|
||||
new ControlItem(
|
||||
drawAssistant.name,
|
||||
drawAssistant.icon,
|
||||
drawAssistant.description || drawAssistant.name
|
||||
)
|
||||
);
|
||||
}
|
||||
});
|
||||
switch (drawStore.categoryType) {
|
||||
case CategoryType.TH:
|
||||
leftMenuConfig.push(
|
||||
@ -460,7 +447,22 @@ onMounted(() => {
|
||||
{ label: '一键生成逻辑区段', click: oneClickLogicSection }
|
||||
);
|
||||
break;
|
||||
case CategoryType.ZDWX:
|
||||
drawAssistantsTypes.push(Beacon.Type);
|
||||
break;
|
||||
}
|
||||
drawAssistantsTypes.forEach((type) => {
|
||||
const drawAssistant = drawStore.getDrawApp().getDrawAssistant(type);
|
||||
if (drawAssistant) {
|
||||
utilsOption.push(
|
||||
new ControlItem(
|
||||
drawAssistant.name,
|
||||
drawAssistant.icon,
|
||||
drawAssistant.description || drawAssistant.name
|
||||
)
|
||||
);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
const canvasWidth = ref(0);
|
||||
|
Loading…
Reference in New Issue
Block a user