diff --git a/src/components/Common/BoxDesignCompontent/index.js b/src/components/Common/BoxDesignCompontent/index.js index 2f4d983..dc83b1d 100644 --- a/src/components/Common/BoxDesignCompontent/index.js +++ b/src/components/Common/BoxDesignCompontent/index.js @@ -339,8 +339,6 @@ const BoxDesignCompontent = baseProps => { const getImage = fileName => { // const imageUrl = `${commonConfig.file_host}file/download?savePathStr=${fileName}&sModelsId=100&token=${props.token}`; const imageUrl = `${commonConfig.file_host}file/download?savePathStr=${fileName}&scale=0.1&sModelsId=100&token=${props.token}` - console.log("πŸš€ ~ imageUrl:", imageUrl) - return imageUrl; }; // δΈ‹ζ₯摆 diff --git a/src/components/QuickQuote/index.jsx b/src/components/QuickQuote/index.jsx index 6459157..bdf06df 100644 --- a/src/components/QuickQuote/index.jsx +++ b/src/components/QuickQuote/index.jsx @@ -1376,15 +1376,12 @@ const BoxComponent = props => { // const upViewProps11 = getUpViewPropsByITag(11); // ε°εˆ·ε‚ζ•°θ‘¨ε• let upViewProps12 = getUpViewPropsByITag(12); + if (!(selectedNode.sTypeKey === "huace" && slaveRowData.sBoxModel === "封青")) { - upViewProps12.viewConfigs = upViewProps12.viewConfigs.slice(0, 6); + upViewProps12.viewConfigs = upViewProps12.viewConfigs.filter( + x => x.sName === "sMagnification" || x.sName === "dPartsLength" || x.sName === "dPartsWidth" + ); } - // - upViewProps12.viewConfigs = upViewProps12.viewConfigs.map(item => { - if (item.sName === "bFlap") { - } - return item; - }); // useEffect(() => { @@ -1541,7 +1538,7 @@ const BoxComponent = props => { const className = target.getAttribute("class"); const nodeName = target.nodeName; if (className?.includes("select") && nodeName === "DIV") return; - + props.setState(pre => ({ ...pre, backendParamsConfig: commonUtils.convertStrToObj(