Commit 7ed6d11cb101dcbe306cb709fa4b941b4a63a32a
1 parent
83fcc1d4
去除打印数据
Showing
4 changed files
with
0 additions
and
5 deletions
src/components/Common/BoxDesignCompontent/index.js
| @@ -357,7 +357,6 @@ const BoxDesignCompontent = baseProps => { | @@ -357,7 +357,6 @@ const BoxDesignCompontent = baseProps => { | ||
| 357 | setRightBoxList(box.filter(rightBoxFilter)); | 357 | setRightBoxList(box.filter(rightBoxFilter)); |
| 358 | } else if (type === "8" || type === 8) { | 358 | } else if (type === "8" || type === 8) { |
| 359 | const box = [...boxList]; | 359 | const box = [...boxList]; |
| 360 | - console.log("🚀 ~ updateLists ~ boxList:", boxList); | ||
| 361 | box.forEach(x => { | 360 | box.forEach(x => { |
| 362 | x.show = true; | 361 | x.show = true; |
| 363 | }); | 362 | }); |
| @@ -424,7 +423,6 @@ const BoxDesignCompontent = baseProps => { | @@ -424,7 +423,6 @@ const BoxDesignCompontent = baseProps => { | ||
| 424 | }; | 423 | }; |
| 425 | 424 | ||
| 426 | const handleChange = (e, index) => { | 425 | const handleChange = (e, index) => { |
| 427 | - console.log(e.target.value, index, "handleChange"); | ||
| 428 | const updatedBoxList = [...boxList]; | 426 | const updatedBoxList = [...boxList]; |
| 429 | updatedBoxList[index].value = e.target.value; | 427 | updatedBoxList[index].value = e.target.value; |
| 430 | setBoxList(updatedBoxList); | 428 | setBoxList(updatedBoxList); |
src/components/Common/BoxDesignCompontent/svg.js
| @@ -471,7 +471,6 @@ const SvgBox = props => { | @@ -471,7 +471,6 @@ const SvgBox = props => { | ||
| 471 | } else { | 471 | } else { |
| 472 | leftSize = zbtb?.value; | 472 | leftSize = zbtb?.value; |
| 473 | } | 473 | } |
| 474 | - console.log(viewBoxWidth, viewBoxHeight, "viewBoxHeight"); | ||
| 475 | 474 | ||
| 476 | svg.setAttribute("viewBox", `${-(leftSize * scale) || 0} ${-ySvg} ${viewBoxWidth + 2} ${viewBoxHeight + 2}`); | 475 | svg.setAttribute("viewBox", `${-(leftSize * scale) || 0} ${-ySvg} ${viewBoxWidth + 2} ${viewBoxHeight + 2}`); |
| 477 | svg.setAttribute("width", `${viewBoxWidth}px`); | 476 | svg.setAttribute("width", `${viewBoxWidth}px`); |
src/components/Common/CommonComponent/index.js
| @@ -1406,7 +1406,6 @@ export default class CommonComponent extends Component { | @@ -1406,7 +1406,6 @@ export default class CommonComponent extends Component { | ||
| 1406 | dSvgBoxHeight: 100, | 1406 | dSvgBoxHeight: 100, |
| 1407 | showNew: 1, | 1407 | showNew: 1, |
| 1408 | }; | 1408 | }; |
| 1409 | - console.log(boxList,'boxList'); | ||
| 1410 | 1409 | ||
| 1411 | return ( | 1410 | return ( |
| 1412 | <div style={{ width: "100px", height: "100px" }}> | 1411 | <div style={{ width: "100px", height: "100px" }}> |
src/components/QuickQuote/index.jsx
| @@ -3296,7 +3296,6 @@ const BoxModelSelectedModal = props => { | @@ -3296,7 +3296,6 @@ const BoxModelSelectedModal = props => { | ||
| 3296 | dSvgBoxHeight: 100, | 3296 | dSvgBoxHeight: 100, |
| 3297 | showNew: 1, | 3297 | showNew: 1, |
| 3298 | }; | 3298 | }; |
| 3299 | - console.log(boxList,srcList,'getSvgProps'); | ||
| 3300 | 3299 | ||
| 3301 | return svgProps; | 3300 | return svgProps; |
| 3302 | }; | 3301 | }; |