Merge pull request 'dev' (#525) from dev into dev-deploy
Reviewed-on: #525
This commit is contained in:
commit
290b75b276
@ -634,7 +634,7 @@ export default function StepUp(props) {
|
||||
<div className="slope-wrap">
|
||||
<div className="circuit-overflow">
|
||||
{/* 3개일때 className = by-max */}
|
||||
{originPcsVoltageStepUpList.map((stepUp, index) => (
|
||||
{stepUpListData.map((stepUp, index) => (
|
||||
<div key={index} className={`module-table-box ${stepUp.pcsItemList.length === 3 ? 'by-max' : ''}`}>
|
||||
{stepUp?.pcsItemList.map((pcsItem, idx) => (
|
||||
<div key={idx} className="module-table-inner">
|
||||
@ -681,7 +681,10 @@ export default function StepUp(props) {
|
||||
0
|
||||
</option>
|
||||
)}
|
||||
{Array.from({ length: item.paralQty }, (_, i) => i + 1).map((num) => (
|
||||
{Array.from(
|
||||
{ length: originPcsVoltageStepUpList[index].pcsItemList[idx].serQtyList[serQtyIdx].paralQty },
|
||||
(_, i) => i + 1,
|
||||
).map((num) => (
|
||||
<option key={num} value={num}>
|
||||
{num}
|
||||
</option>
|
||||
|
||||
@ -1003,8 +1003,8 @@ const createInnerLinesFromSkeleton = (roofId, canvas, skeleton, textMode) => {
|
||||
if (isStartEnd.start) {
|
||||
//x1 inside
|
||||
const moveDist = Big(wallLine.x1).minus(wallBaseLine.x1).abs().toNumber()
|
||||
const aStartY = Big(roofLine.y1).plus(moveDist).abs().toNumber()
|
||||
const bStartY = Big(wallLine.y1).plus(moveDist).abs().toNumber()
|
||||
const aStartY = Big(roofLine.y1).plus(moveDist).toNumber()
|
||||
const bStartY = Big(wallLine.y1).plus(moveDist).toNumber()
|
||||
const inLine = findLineContainingPoint(innerLines, { y: aStartY, x: roofLine.x1 })
|
||||
console.log('startLines:::::::', inLine)
|
||||
const eLineY = Big(bStartY).minus(wallLine.y1).abs().toNumber()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user