优化一些 周六的内容
This commit is contained in:
@@ -335,12 +335,12 @@ const CesiumMap = React.forwardRef(({ ifClear, ifClearPlanLine, ifClearNavLine,
|
||||
polygonRef.current = null;
|
||||
} catch (e) { }
|
||||
}
|
||||
if (planLineRef.current) {
|
||||
try {
|
||||
viewer.entities.remove(planLineRef.current);
|
||||
planLineRef.current = null;
|
||||
} catch (e) { }
|
||||
}
|
||||
//if (planLineRef.current) {
|
||||
// try {
|
||||
// viewer.entities.remove(planLineRef.current);
|
||||
// planLineRef.current = null;
|
||||
// } catch (e) { }
|
||||
//}
|
||||
|
||||
const validPoints = points?.filter(p => {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user