Commit ee17698f2b783196ada593af604ccfe0cc424001

Authored by zhangzzzz
1 parent ba58beaa

处理报错问题;

src/components/QuickQuote/index.jsx
@@ -1872,7 +1872,7 @@ const BoxComponent = props => { @@ -1872,7 +1872,7 @@ const BoxComponent = props => {
1872 return false; 1872 return false;
1873 } else { 1873 } else {
1874 if (item.sName === "iPage") { 1874 if (item.sName === "iPage") {
1875 - const rateList = JSON.parse(slaveConfig.gdsconfigformslave.find(x => x.sName === "iRateType")?.showDropDown) || []; 1875 + const rateList = commonUtils.convertStrToObj(slaveConfig.gdsconfigformslave.find(x => x.sName === "iRateType")?.showDropDown, []);
1876 item.showName = rateList[Number(selectedNode.iRateType)] || "倍率"; 1876 item.showName = rateList[Number(selectedNode.iRateType)] || "倍率";
1877 } 1877 }
1878 } 1878 }