Browse Source

feat: 跨1层扶梯直梯cost相同

master
jiannibang 4 years ago
parent
commit
30993321fe
  1. 4
      data-helper.js

4
data-helper.js

@ -300,7 +300,7 @@ export const handleData = (
? Infinity ? Infinity
: list.isEscalator : list.isEscalator
? 7000 * floorDiff ? 7000 * floorDiff
: 10000 + floorDiff * 1000,
: 6000 + floorDiff * 1000,
}; };
const rightValue = { const rightValue = {
[leftKey]: [leftKey]:
@ -308,7 +308,7 @@ export const handleData = (
? Infinity ? Infinity
: list.isEscalator : list.isEscalator
? 7000 * floorDiff ? 7000 * floorDiff
: 10000 + floorDiff * 1000,
: 6000 + floorDiff * 1000,
}; };
attachGraph({ attachGraph({
graph, graph,

Loading…
Cancel
Save