Commit 7ed6d11cb101dcbe306cb709fa4b941b4a63a32a

Authored by 陈鑫涛
1 parent 83fcc1d4

去除打印数据

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