信标只属于浙大网新

This commit is contained in:
joylink_zhaoerwei 2023-11-10 09:41:34 +08:00
parent d600578f0e
commit 2ff70db160

View File

@ -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);