Explorar el Código

fix:基准线和普通线 测量线的这个字段都变成斑马线

jinx hace 1 año
padre
commit
bb2cfc8adc
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      src/graphic/Controls/UIControl.js

+ 3 - 0
src/graphic/Controls/UIControl.js

@@ -109,6 +109,9 @@ export default class UIControl {
         } else if (selectUI == UIEvents.CurveRoad) {
           stateService.setEventName(LayerEvents.AddCurveRoad);
         } else if (uiService.isBelongLine(selectUI)) {
+          if (Settings.selectSVGType == RoadStructure.ZebraCrossing) {
+            uiService.setSelectSVGType(null);
+          }
           stateService.setEventName(LayerEvents.AddLine);
         }
         //  else if (selectUI == UIEvents.CurveLine) {