Commit ee17698f2b783196ada593af604ccfe0cc424001
1 parent
ba58beaa
处理报错问题;
Showing
1 changed file
with
1 additions
and
1 deletions
src/components/QuickQuote/index.jsx
| ... | ... | @@ -1872,7 +1872,7 @@ const BoxComponent = props => { |
| 1872 | 1872 | return false; |
| 1873 | 1873 | } else { |
| 1874 | 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 | 1876 | item.showName = rateList[Number(selectedNode.iRateType)] || "倍率"; |
| 1877 | 1877 | } |
| 1878 | 1878 | } | ... | ... |